diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2010-05-11 09:30:41 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2010-05-11 09:30:41 -0400 |
commit | aa30bd3f2aa9b46b39738da60f9593175929cd46 (patch) | |
tree | da10f3169ccf098e9e7ab52ec5f5e56dbebc244e /Tests/CTestTest3 | |
parent | ef6b505caa339d05efba9425a24277b58884adf1 (diff) | |
download | cmake-aa30bd3f2aa9b46b39738da60f9593175929cd46.tar.gz |
Disable purify on unix, as it works differently and ctest can't use it.
Diffstat (limited to 'Tests/CTestTest3')
-rw-r--r-- | Tests/CTestTest3/test.cmake.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/CTestTest3/test.cmake.in b/Tests/CTestTest3/test.cmake.in index 1cf5a885bb..1e8ea50237 100644 --- a/Tests/CTestTest3/test.cmake.in +++ b/Tests/CTestTest3/test.cmake.in @@ -25,6 +25,14 @@ 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@") +# for unix purify has to be used as a linker, and +# will not work with ctest. So disable it so +# that it is not attempted. +IF(UNIX) + IF("${CTEST_MEMORYCHECK_COMMAND}" MATCHES purify) + SET(CTEST_MEMORYCHECK_COMMAND) + ENDIF() +ENDIF() SET(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@") SET(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}") SET(CTEST_CHECKOUT_COMMAND "\"${CTEST_UPDATE_COMMAND}\" -q -z3 \"-d:pserver:anoncvs@www.cmake.org:/cvsroot/KWSys\" co -r CTest-Testing-Tag KWSys") |