[
https://issues.apache.org/jira/browse/DISPATCH-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16953471#comment-16953471
]
ASF GitHub Bot commented on DISPATCH-1384:
------------------------------------------
jdanekrh commented on pull request #590: DISPATCH-1384 - fix unit_tests test
URL: https://github.com/apache/qpid-dispatch/pull/590
The inlining is not happening on Linux anyways, so disabling it should
affect only macOS. I could not think of other way to make tests pass with the
inlining, except doing some really crazy things that would have to affect what
happens during normal execution too.
I have a StackOverflow question about it, btw ;)
https://stackoverflow.com/questions/56711149/how-do-i-replace-a-function-by-a-mock-implementation-when-unit-testing-a-shared
`-Wl,-export-dynamic` is Clangs equivalent of `-rdynamic` in GCC. I thought
it should be used, but it does not appear to be necessary, so I am not adding
that.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Fix tests in Travis CI on macOS
> -------------------------------
>
> Key: DISPATCH-1384
> URL: https://issues.apache.org/jira/browse/DISPATCH-1384
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Tests
> Reporter: Jiri Daněk
> Assignee: Jiri Daněk
> Priority: Major
>
> {noformat}
> The following tests FAILED:
> 9 - unit_tests (SEGFAULT)
> 23 - system_tests_policy (Timeout)
> 28 - system_tests_sasl_plain (Failed)
> 38 - system_tests_auth_service_plugin (Failed)
> 39 - system_tests_authz_service_plugin (Failed)
> 48 - system_tests_bad_configuration (Failed)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]