From: Navarrop Date: Tue, 26 Apr 2011 15:33:23 +0000 (+0200) Subject: Set some ucontext tests failed. X-Git-Tag: v3_6_rc3~93 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/30dd40918ba222251d845f42578cfd82801ef29f?hp=cc030fa0846f0336bca44af8688909b6355b0f32;ds=sidebyside Set some ucontext tests failed. --- diff --git a/buildtools/Cmake/AddTests.cmake b/buildtools/Cmake/AddTests.cmake index d510f5d258..f7df838654 100644 --- a/buildtools/Cmake/AddTests.cmake +++ b/buildtools/Cmake/AddTests.cmake @@ -436,14 +436,20 @@ endif(HAVE_MC) # Amok is broken in RL since before v3.3 (should fix it one day) set_tests_properties(amok-bandwidth-rl amok-saturate-rl PROPERTIES WILL_FAIL true) if(${ARCH_32_BITS}) - 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) if(HAVE_RAWCTX) set_tests_properties(amok-bandwidth-sg-32-raw amok-saturate-sg-32-raw PROPERTIES WILL_FAIL true) endif(HAVE_RAWCTX) else(${ARCH_32_BITS}) - set_tests_properties(amok-bandwidth-sg-64-thread amok-bandwidth-sg-64-ucontext PROPERTIES WILL_FAIL true) - set_tests_properties(amok-saturate-sg-64-thread amok-saturate-sg-64-ucontext PROPERTIES WILL_FAIL true) + set_tests_properties(amok-bandwidth-sg-64-thread PROPERTIES WILL_FAIL true) + set_tests_properties(amok-saturate-sg-64-thread PROPERTIES WILL_FAIL true) + if(HAVE_UCONTEXT_H) + set_tests_properties(amok-bandwidth-sg-64-ucontext amok-saturate-sg-64-ucontext PROPERTIES WILL_FAIL true) + endif(HAVE_UCONTEXT_H) if(HAVE_RAWCTX) set_tests_properties(amok-bandwidth-sg-64-raw amok-saturate-sg-64-raw PROPERTIES WILL_FAIL true) endif(HAVE_RAWCTX)