diff options
author | Brad King <brad.king@kitware.com> | 2010-02-02 22:10:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-02-02 22:10:55 (GMT) |
commit | 09be6c548041f37739a6a9de783b447c2033ad93 (patch) | |
tree | 6f6d534aa76b5dfd56000091a2bc23e9bff67399 | |
parent | 5a0653edfd5dd130fbde19157a575f75aa9b285a (diff) | |
download | CMake-09be6c548041f37739a6a9de783b447c2033ad93.zip CMake-09be6c548041f37739a6a9de783b447c2033ad93.tar.gz CMake-09be6c548041f37739a6a9de783b447c2033ad93.tar.bz2 |
Avoid CTest 2.6.4 dashboard script crash
CTest 2.6.4 crashes if a dashboard script invokes "message()" after
"ctest_test()" or anything else that creates an inner cmCTest object.
The CMake.Install test drives installation using --build-and-test with
the outer CTest driving CMake tests. We add --force-new-ctest-process
to avoid creation of a cmCTest object inside the outer CTest just in
case it is 2.6.4.
-rw-r--r-- | Tests/CMakeInstall.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CMakeInstall.cmake b/Tests/CMakeInstall.cmake index f141b53..6af574e 100644 --- a/Tests/CMakeInstall.cmake +++ b/Tests/CMakeInstall.cmake @@ -33,6 +33,7 @@ if(CMake_TEST_INSTALL) add_test(CMake.Install ${CMake_TEST_INSTALL_CTest} ${CMake_TEST_INSTALL_CONFIG} + --force-new-ctest-process --build-and-test ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} --build-generator ${CMAKE_GENERATOR} # Not CMAKE_TEST_GENERATOR --build-project CMake |