mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 22:37:30 +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,6 +559,8 @@ run_cmake_command(EmptyDirTest-ctest
|
|||||||
)
|
)
|
||||||
|
|
||||||
run_cmake_command(EmptyDirCoverage-ctest
|
run_cmake_command(EmptyDirCoverage-ctest
|
||||||
|
# Isolate this test from any surrounding coverage tool.
|
||||||
|
${CMAKE_COMMAND} -E env --unset=COVFILE
|
||||||
${CMAKE_CTEST_COMMAND} -C Debug -M Experimental -T Coverage
|
${CMAKE_CTEST_COMMAND} -C Debug -M Experimental -T Coverage
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user