summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ctest_test/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-14 16:05:56 (GMT)
committerBrad King <brad.king@kitware.com>2022-11-14 16:05:56 (GMT)
commit3b6c1c1a3b8c32738ac351b8cd5c137f65e14c40 (patch)
tree8decf793c42724dda87424f75f7c17039f32e2d0 /Tests/RunCMake/ctest_test/RunCMakeTest.cmake
parent7a4673965fbea65a22456a039145c489831fea8f (diff)
downloadCMake-3b6c1c1a3b8c32738ac351b8cd5c137f65e14c40.zip
CMake-3b6c1c1a3b8c32738ac351b8cd5c137f65e14c40.tar.gz
CMake-3b6c1c1a3b8c32738ac351b8cd5c137f65e14c40.tar.bz2
Tests: Factor out RunCMake ctest environment isolation
Some RunCMake tests unset some environment variables that affect ctest's behavior before running it. Any test using the RunCTest helper needs to do this, so do it in the helper itself. Issue: #24153
Diffstat (limited to 'Tests/RunCMake/ctest_test/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/ctest_test/RunCMakeTest.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/Tests/RunCMake/ctest_test/RunCMakeTest.cmake b/Tests/RunCMake/ctest_test/RunCMakeTest.cmake
index 74ae99c..242a059 100644
--- a/Tests/RunCMake/ctest_test/RunCMakeTest.cmake
+++ b/Tests/RunCMake/ctest_test/RunCMakeTest.cmake
@@ -1,9 +1,6 @@
include(RunCTest)
set(RunCMake_TEST_TIMEOUT 60)
-unset(ENV{CTEST_PARALLEL_LEVEL})
-unset(ENV{CTEST_OUTPUT_ON_FAILURE})
-
set(CASE_CTEST_TEST_ARGS "")
set(CASE_CTEST_TEST_LOAD "")