summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorBetsy McPhail <betsy.mcphail@kitware.com>2017-10-11 23:39:04 (GMT)
committerBetsy McPhail <betsy.mcphail@kitware.com>2017-11-07 19:15:20 (GMT)
commite80dc2ad7fd8cde15ad62ffd7743eba20fbc8524 (patch)
tree7bfd8f6cabd17b6a28e4d2278af18eedadea3c8b /Source/cmCTest.cxx
parenta7347c022eb67272eea7dca5a58d0b94806b7d95 (diff)
downloadCMake-e80dc2ad7fd8cde15ad62ffd7743eba20fbc8524.zip
CMake-e80dc2ad7fd8cde15ad62ffd7743eba20fbc8524.tar.gz
CMake-e80dc2ad7fd8cde15ad62ffd7743eba20fbc8524.tar.bz2
cmCTest: Remove dead code
The option 'ctest-config' is ignored.
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 37ff901..92da9ab 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -282,7 +282,6 @@ cmCTest::cmCTest()
this->GlobalTimeout = 0;
this->LastStopTimeout = 24 * 60 * 60;
this->CompressXMLFiles = false;
- this->CTestConfigFile.clear();
this->ScheduleType.clear();
this->StopTime.clear();
this->NextDayStopTime = false;
@@ -623,12 +622,9 @@ bool cmCTest::UpdateCTestConfiguration()
if (this->SuppressUpdatingCTestConfiguration) {
return true;
}
- std::string fileName = this->CTestConfigFile;
- if (fileName.empty()) {
- fileName = this->BinaryDir + "/CTestConfiguration.ini";
- if (!cmSystemTools::FileExists(fileName.c_str())) {
- fileName = this->BinaryDir + "/DartConfiguration.tcl";
- }
+ std::string fileName = this->BinaryDir + "/CTestConfiguration.ini";
+ if (!cmSystemTools::FileExists(fileName.c_str())) {
+ fileName = this->BinaryDir + "/DartConfiguration.tcl";
}
cmCTestLog(this, HANDLER_VERBOSE_OUTPUT,
"UpdateCTestConfiguration from :" << fileName << "\n");