From 15ac4aae0e3199fe8ac7f46cf4eb064cbeb1660d Mon Sep 17 00:00:00 2001 From: Regina Pfeifer Date: Tue, 20 Nov 2018 21:19:45 +0100 Subject: Remove warning when no CTestConfig.cmake file exists Some CTestConfig.cmake files used to set CTEST_PROJECT_NAME only. Since this variable is no longer used, it is more likely that the whole file is no longer provided by projects. --- Source/cmCTest.cxx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index c2b6575..56c71c2 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -649,16 +649,6 @@ bool cmCTest::InitializeFromCommand(cmCTestStartCommand* command) command->SetError(m); return false; } - } else { - cmCTestOptionalLog(this, WARNING, - "Cannot locate CTest configuration: in BuildDirectory: " - << bld_dir_fname << std::endl, - command->ShouldBeQuiet()); - cmCTestOptionalLog( - this, WARNING, - "Cannot locate CTest configuration: in SourceDirectory: " - << src_dir_fname << std::endl, - command->ShouldBeQuiet()); } this->SetCTestConfigurationFromCMakeVariable(mf, "NightlyStartTime", -- cgit v0.12