+ ###
+ ### Declare that we know that some tests are broken
+ ###
+ if(release)
+ if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
+ # These tests are known to fail on Mac OS X (the expected error message is
+ # not shown).
+ set_tests_properties(stack-overflow-thread PROPERTIES WILL_FAIL true)
+ if(CONTEXT_UCONTEXT)
+ set_tests_properties(stack-overflow-ucontext PROPERTIES WILL_FAIL true)
+ endif()
+ if(HAVE_RAWCTX)
+ set_tests_properties(stack-overflow-raw PROPERTIES WILL_FAIL true)
+ endif()
+ endif()
+ endif()
+