diff options
author | Brad King <brad.king@kitware.com> | 2013-02-03 16:44:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-02-04 20:19:56 (GMT) |
commit | a6d3ffcb1fa71395cb0d865b3c79450280554651 (patch) | |
tree | cdb526d14e6cf22cbc7284cbae0b8100f0b87f6b /Tests | |
parent | aed590a7e0c135f2466fb19cfe09674c687432ab (diff) | |
download | CMake-a6d3ffcb1fa71395cb0d865b3c79450280554651.zip CMake-a6d3ffcb1fa71395cb0d865b3c79450280554651.tar.gz CMake-a6d3ffcb1fa71395cb0d865b3c79450280554651.tar.bz2 |
Fix Module.ExternalData test on VS 6
Run the test with the ctest --build-noclean option. The test
CMakeLists.txt file already uses file(REMOVE_RECURSE) to clean out
downloaded data anyway. Some file removed by "msdev ... /clean" causes
CMake to re-run in the middle of the build step and file(REMOVE_RECURSE)
wipes out already-generated files.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index c21922e..a3044ab 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -319,6 +319,7 @@ if(BUILD_TESTING) --build-generator ${CMAKE_TEST_GENERATOR} --build-project ExternalDataTest --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM} + --build-noclean --force-new-ctest-process --test-command ${CMAKE_CTEST_COMMAND} -C \${CTEST_CONFIGURATION_TYPE} -V ) |