From: Arnaud Giersch Date: Wed, 30 Jan 2013 10:45:39 +0000 (+0100) Subject: Disable bittorrent/parallel tests in release mode. X-Git-Tag: v3_9_rc1~14 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/94ce2461e6d79a3db32abdbc0fe171f77a2c57e6 Disable bittorrent/parallel tests in release mode. These tests are known to fail *sometimes*. Define environment variable SG_EXENV to "true", so that the tests fail consistently, and "make distcheck" succeeds. --- diff --git a/buildtools/Cmake/AddTests.cmake b/buildtools/Cmake/AddTests.cmake index 2305926e85..7e59b1bb55 100644 --- a/buildtools/Cmake/AddTests.cmake +++ b/buildtools/Cmake/AddTests.cmake @@ -414,6 +414,13 @@ if(NOT enable_memcheck) endif() endif() set_tests_properties(msg-masterslave-virtual-machines PROPERTIES WILL_FAIL true) + set_tests_properties(msg-bittorrent-thread-parallel PROPERTIES ENVIRONMENT SG_TEST_EXENV=true WILL_FAIL true) + if(CONTEXT_UCONTEXT) + set_tests_properties(msg-bittorrent-ucontext-parallel PROPERTIES ENVIRONMENT SG_TEST_EXENV=true WILL_FAIL true) + endif() + if(HAVE_RAWCTX) + set_tests_properties(msg-bittorrent-raw-parallel PROPERTIES ENVIRONMENT SG_TEST_EXENV=true WILL_FAIL true) + endif() endif() endif()