+ ###
+ ### Declare that we know that some tests are broken
+ ###
+ if(release)
+ if(WIN32 OR CMAKE_SYSTEM_NAME MATCHES "Darwin")
+ # These tests are known to fail on Windows and 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()
+