mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 19:08:07 +08:00
Tests: Fix RunCMake.CTestCommandLine under ctest -T Coverage
Update commit 712cb8cb14
(ctest: Restore support for -T Test without
dashboard configuration, 2025-03-06, v4.0.0-rc4~11^2) to avoid
conflating coverage of CMake itself with the coverage mode of ctest
being tested.
This commit is contained in:
@@ -559,7 +559,9 @@ run_cmake_command(EmptyDirTest-ctest
|
||||
)
|
||||
|
||||
run_cmake_command(EmptyDirCoverage-ctest
|
||||
${CMAKE_CTEST_COMMAND} -C Debug -M Experimental -T Coverage
|
||||
# Isolate this test from any surrounding coverage tool.
|
||||
${CMAKE_COMMAND} -E env --unset=COVFILE
|
||||
${CMAKE_CTEST_COMMAND} -C Debug -M Experimental -T Coverage
|
||||
)
|
||||
|
||||
function(run_MemCheckSan case opts)
|
||||
|
Reference in New Issue
Block a user