mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 23:28:32 -05:00
Merge topic 'no-sanitizer-logfile'
5aaaee5e9e ctest_memcheck: Change failure to find log file from error to warning
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2323
This commit is contained in:
@@ -1087,7 +1087,7 @@ void cmCTestMemCheckHandler::TestOutputFileNames(
|
||||
g.FindFiles(ofile);
|
||||
if (g.GetFiles().empty()) {
|
||||
std::string log = "Cannot find memory tester output file: " + ofile;
|
||||
cmCTestLog(this->CTest, ERROR_MESSAGE, log << std::endl);
|
||||
cmCTestLog(this->CTest, WARNING, log << std::endl);
|
||||
ofile.clear();
|
||||
} else {
|
||||
files = g.GetFiles();
|
||||
@@ -1095,7 +1095,7 @@ void cmCTestMemCheckHandler::TestOutputFileNames(
|
||||
}
|
||||
} else if (!cmSystemTools::FileExists(ofile)) {
|
||||
std::string log = "Cannot find memory tester output file: " + ofile;
|
||||
cmCTestLog(this->CTest, ERROR_MESSAGE, log << std::endl);
|
||||
cmCTestLog(this->CTest, WARNING, log << std::endl);
|
||||
ofile.clear();
|
||||
}
|
||||
files.push_back(std::move(ofile));
|
||||
|
||||
Reference in New Issue
Block a user