[ https://issues.apache.org/jira/browse/DISPATCH-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16953833#comment-16953833 ]
ASF GitHub Bot commented on DISPATCH-1384: ------------------------------------------ jdanekrh commented on pull request #590: DISPATCH-1384 - Fix unit_tests URL: https://github.com/apache/qpid-dispatch/pull/590#discussion_r336064713 ########## File path: CMakeLists.txt ########## @@ -191,9 +191,13 @@ if (CMAKE_C_COMPILER_ID MATCHES "Clang") add_compile_options(-Wno-gnu-statement-expression) endif() -if (NOT (APPLE OR USE_SANITIZERS OR USE_TSAN)) +if (APPLE) Review comment: Thanks for the head's up. Would you be OK if this gets merged before you get done? For APPLE, the important thing is never to set `"-Wl,-z,defs"`, because then the compile fails. No other considerations I know about, so far. Btw, there is apparently special automagical setting to enable sanitizers with XCODE ``` cmake_minimum_required(VERSION 3.13) set(CMAKE_XCODE_GENERATE_SCHEME ON) set(CMAKE_XCODE_SCHEME_ADDRESS_SANITIZER ON) set(CMAKE_XCODE_SCHEME_ADDRESS_SANITIZER_USE_AFTER_RETURN ON) ``` https://stackoverflow.com/questions/44320465/whats-the-proper-way-to-enable-addresssanitizer-in-cmake-that-works-in-xcode Probably something that can be safely ignored for now. I was wondering if "modern" CMake has special support for Valgrind, and so on, but I found nothing. It has e.g. support for cppcheck, though, https://cmake.org/cmake/help/v3.10/prop_tgt/LANG_CPPCHECK.html ---------------------------------------------------------------- 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: us...@infra.apache.org > 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 > Labels: macOS > > {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-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org