- set_tests_properties(amok-bandwidth-sg-32-thread amok-bandwidth-sg-32-ucontext PROPERTIES WILL_FAIL true)
- set_tests_properties(amok-saturate-sg-32-thread amok-saturate-sg-32-ucontext PROPERTIES WILL_FAIL true)
+ set_tests_properties(amok-bandwidth-sg-32-thread PROPERTIES WILL_FAIL true)
+ set_tests_properties(amok-saturate-sg-32-thread PROPERTIES WILL_FAIL true)
+ if(HAVE_UCONTEXT_H)
+ set_tests_properties(amok-bandwidth-sg-32-ucontext amok-saturate-sg-32-ucontext PROPERTIES WILL_FAIL true)
+ endif(HAVE_UCONTEXT_H)