From 94ce2461e6d79a3db32abdbc0fe171f77a2c57e6 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 30 Jan 2013 11:45:39 +0100 Subject: [PATCH] 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. --- buildtools/Cmake/AddTests.cmake | 7 +++++++ 1 file changed, 7 insertions(+) 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() -- 2.20.1