summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/RunCTest.cmake
diff options
context:
space:
mode:
authorfriendlyanon <friendlyanon_@hotmail.com>2022-12-30 14:11:17 (GMT)
committerfriendlyanon <friendlyanon_@hotmail.com>2023-01-13 12:33:39 (GMT)
commit0661de58d845f537d070979f9b49dd05800a141e (patch)
tree84c9440a94d8755584c32c18b57cf51e5430d391 /Tests/RunCMake/RunCTest.cmake
parentbb52a1781a6eb29bce3c4847b9fc882dd198467a (diff)
downloadCMake-0661de58d845f537d070979f9b49dd05800a141e.zip
CMake-0661de58d845f537d070979f9b49dd05800a141e.tar.gz
CMake-0661de58d845f537d070979f9b49dd05800a141e.tar.bz2
ctest(1): Add CTEST_NO_TESTS_ACTION env var
This environment variable provides a default value for the --no-tests=<action> command line argument.
Diffstat (limited to 'Tests/RunCMake/RunCTest.cmake')
-rw-r--r--Tests/RunCMake/RunCTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/RunCTest.cmake b/Tests/RunCMake/RunCTest.cmake
index 86f5b3a..d46f6ad 100644
--- a/Tests/RunCMake/RunCTest.cmake
+++ b/Tests/RunCMake/RunCTest.cmake
@@ -3,6 +3,7 @@ include(RunCMake)
# Isolate our ctest runs from external environment.
unset(ENV{CTEST_PARALLEL_LEVEL})
unset(ENV{CTEST_OUTPUT_ON_FAILURE})
+unset(ENV{CTEST_NO_TESTS_ACTION})
function(run_ctest CASE_NAME)
configure_file(${RunCMake_SOURCE_DIR}/test.cmake.in