You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2019/10/10 07:22:00 UTC

[jira] [Comment Edited] (DISPATCH-1384) Fix tests in Travis CI on macOS

    [ https://issues.apache.org/jira/browse/DISPATCH-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16883577#comment-16883577 ] 

Jiri Daněk edited comment on DISPATCH-1384 at 10/10/19 7:21 AM:
----------------------------------------------------------------

WIP in https://github.com/jdanekrh/qpid-dispatch/commits/jd_macos_tests

{{9 - unit_tests (SEGFAULT)}} can be fixed by adding {{-fno-inline}}, although that is not the fix we want. The reason why there is segfault is explained on https://stackoverflow.com/questions/56711149/how-do-i-replace-a-function-by-a-mock-implementation-when-unit-testing-a-shared. Function {{qd_timer_now}} is built inlined on macOS, so when building for unittests, it is not replaced by mock implementation.

{{48 - system_tests_bad_configuration (Failed)}} is fixed by updating the regex with a macOS version of the error message text


was (Author: jdanek):
WIP in https://github.com/jdanekrh/qpid-dispatch/commits/jd_macos_tests

{{9 - unit_tests (SEGFAULT)}} can be fixed by adding {{-fno-inline}}, although that is not the fix we want

{{48 - system_tests_bad_configuration (Failed)}} is fixed by updating the regex with a macOS version of the error message text

> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org