summaryrefslogtreecommitdiff
path: root/Tests/CTestTestSubdir
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-01-28 14:58:04 -0500
committerDavid Cole <david.cole@kitware.com>2011-01-28 14:58:04 -0500
commita6a21c85ed759d3c1cfeb0db63007dd5d78c24e0 (patch)
tree39eabab15c00ac08dbf349d1e655720f6a6c3cdc /Tests/CTestTestSubdir
parent6744616fb2c6397893c5b41bb4473fa8d420a57b (diff)
downloadcmake-a6a21c85ed759d3c1cfeb0db63007dd5d78c24e0.tar.gz
Tests: Eliminate unnecessary files and variables.
1: The CTestTestFailedSubmits tests do not need to run the CTEST_MEMCHECK command. It is covered by the CTestTest2 test. If more coverage *is* required, choose a test that runs by itself once to add it to... This one gets used several times in a loop to test submission failure via the various submission protocols. With memchecking on, each test here takes 1000 seconds or more on a "fast" build... 2: Other ctest tests do not need any of the CTEST_MEMORYCHECK_* variables defined. They don't even call CTEST_MEMCHECK, or -D NightlyMemCheck, or anything. So: remove the unnecessary set calls. 3: CTestTest3 has gone intentionally unused for months because it did not add any coverage and caused no ends of sporadic randomish failures when network connectivity was spotty. Remove its directory. Never add it again.
Diffstat (limited to 'Tests/CTestTestSubdir')
-rw-r--r--Tests/CTestTestSubdir/test.cmake.in3
1 files changed, 0 insertions, 3 deletions
diff --git a/Tests/CTestTestSubdir/test.cmake.in b/Tests/CTestTestSubdir/test.cmake.in
index c8d4fdabf5..f240473ee0 100644
--- a/Tests/CTestTestSubdir/test.cmake.in
+++ b/Tests/CTestTestSubdir/test.cmake.in
@@ -10,9 +10,6 @@ SET(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestSubdi
SET(CTEST_CVS_COMMAND "@CVSCOMMAND@")
SET(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
SET(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
-SET(CTEST_MEMORYCHECK_COMMAND "@MEMORYCHECK_COMMAND@")
-SET(CTEST_MEMORYCHECK_SUPPRESSIONS_FILE "@MEMORYCHECK_SUPPRESSIONS_FILE@")
-SET(CTEST_MEMORYCHECK_COMMAND_OPTIONS "@MEMORYCHECK_COMMAND_OPTIONS@")
SET(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
SET(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")