From a6d3ffcb1fa71395cb0d865b3c79450280554651 Mon Sep 17 00:00:00 2001 From: Brad King Date: Sun, 3 Feb 2013 11:44:05 -0500 Subject: 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. --- Tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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 ) -- cgit v0.12