mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-17 15:32:10 +08:00
cmCTest: Explicitly specify '.tmp' extension on in-progress log files
Do not depend on `cmGeneratedFileStream` to have this default.
This commit is contained in:
@@ -841,6 +841,7 @@ bool cmCTest::OpenOutputFile(const std::string& path, const std::string& name,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
std::string filename = testingDir + "/" + name;
|
std::string filename = testingDir + "/" + name;
|
||||||
|
stream.SetTempExt("tmp");
|
||||||
stream.Open(filename);
|
stream.Open(filename);
|
||||||
if (!stream) {
|
if (!stream) {
|
||||||
cmCTestLog(this, ERROR_MESSAGE,
|
cmCTestLog(this, ERROR_MESSAGE,
|
||||||
|
Reference in New Issue
Block a user