diff options
author | Brad King <brad.king@kitware.com> | 2020-04-30 12:40:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-04-30 12:42:00 (GMT) |
commit | 81e83510a01601d61b49df72a549de9bc4af718f (patch) | |
tree | d9077353e041678d538eed34b7d4630ef41472f6 /Tests/CTestCoverageCollectGCOV | |
parent | ab7eda2591c04244e23b57f2101ad4ac16c6b367 (diff) | |
download | CMake-81e83510a01601d61b49df72a549de9bc4af718f.zip CMake-81e83510a01601d61b49df72a549de9bc4af718f.tar.gz CMake-81e83510a01601d61b49df72a549de9bc4af718f.tar.bz2 |
Tests: Fix re-running CTestCoverageCollectGCOV on in-source build
Do not remove the test binary directory if it contains `CMakeCache.txt`.
Otherwise in an in-source build we remove the source directory too.
Diffstat (limited to 'Tests/CTestCoverageCollectGCOV')
-rw-r--r-- | Tests/CTestCoverageCollectGCOV/test.cmake.in | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Tests/CTestCoverageCollectGCOV/test.cmake.in b/Tests/CTestCoverageCollectGCOV/test.cmake.in index 2c98876..9fe25a7 100644 --- a/Tests/CTestCoverageCollectGCOV/test.cmake.in +++ b/Tests/CTestCoverageCollectGCOV/test.cmake.in @@ -3,8 +3,6 @@ set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestCoverageCollectGCOV/Te set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestCoverageCollectGCOV/TestProject") set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@") -ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY}) - ctest_start(Experimental) ctest_configure() ctest_build() |