diff options
author | Zack Galbreath <zack.galbreath@kitware.com> | 2020-09-24 17:41:15 (GMT) |
---|---|---|
committer | Zack Galbreath <zack.galbreath@kitware.com> | 2020-09-28 17:13:52 (GMT) |
commit | ab9ad2a6a0addcb1366b68c0a28df7e1c9c9bc6f (patch) | |
tree | 468f7042c85c95f9b0b5c39b27094b9fd4facae1 /Source/CTest/cmCTestGenericHandler.cxx | |
parent | 56e4e942d22bddc1662d5a3d057ab8246b805c32 (diff) | |
download | CMake-ab9ad2a6a0addcb1366b68c0a28df7e1c9c9bc6f.zip CMake-ab9ad2a6a0addcb1366b68c0a28df7e1c9c9bc6f.tar.gz CMake-ab9ad2a6a0addcb1366b68c0a28df7e1c9c9bc6f.tar.bz2 |
ctest: report make-level errors to CDash when using launchers
Fixes: #19545
Diffstat (limited to 'Source/CTest/cmCTestGenericHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestGenericHandler.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.cxx b/Source/CTest/cmCTestGenericHandler.cxx index a71f550..91818bb 100644 --- a/Source/CTest/cmCTestGenericHandler.cxx +++ b/Source/CTest/cmCTestGenericHandler.cxx @@ -6,6 +6,7 @@ #include <utility> #include "cmCTest.h" +#include "cmStringAlgorithms.h" #include "cmSystemTools.h" cmCTestGenericHandler::cmCTestGenericHandler() @@ -122,6 +123,8 @@ bool cmCTestGenericHandler::StartLogFile(const char* name, ostr << "_" << this->CTest->GetCurrentTag(); } ostr << ".log"; + this->LogFileNames[name] = + cmStrCat(this->CTest->GetBinaryDir(), "/Testing/Temporary/", ostr.str()); if (!this->CTest->OpenOutputFile("Temporary", ostr.str(), xofs)) { cmCTestLog(this->CTest, ERROR_MESSAGE, "Cannot create log file: " << ostr.str() << std::endl); |