summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorAlex Reinking <alex.reinking@gmail.com>2022-08-14 06:04:49 (GMT)
committerBrad King <brad.king@kitware.com>2022-08-15 18:10:34 (GMT)
commit4e6cbb1f132540cb1a283d99aad8c1890f06145d (patch)
treeb5af3b8d1ec3e6d22924eb48a00d54d924384425 /Source/CTest
parent4befac3b328a35e7a1eb34ce229f13710fa651a2 (diff)
downloadCMake-4e6cbb1f132540cb1a283d99aad8c1890f06145d.zip
CMake-4e6cbb1f132540cb1a283d99aad8c1890f06145d.tar.gz
CMake-4e6cbb1f132540cb1a283d99aad8c1890f06145d.tar.bz2
cmCTestRunTest: Remove unnecessary CMAKE_BOOTSTRAP guard
CTest is not compiled during CMake's `bootstrap` build.
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestRunTest.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx
index 2a2cb1c..e19739d 100644
--- a/Source/CTest/cmCTestRunTest.cxx
+++ b/Source/CTest/cmCTestRunTest.cxx
@@ -787,9 +787,7 @@ bool cmCTestRunTest::ForkProcess(
this->TestProcess->SetTimeout(timeout);
-#ifndef CMAKE_BOOTSTRAP
cmSystemTools::SaveRestoreEnvironment sre;
-#endif
std::ostringstream envMeasurement;
if (environment && !environment->empty()) {