cmCTest: Explicitly specify '.tmp' extension on in-progress log files

Do not depend on `cmGeneratedFileStream` to have this default.
This commit is contained in:
Brad King committed 2020-07-08 15:49:56 -04:00
1 parent 0d3a034725
commit 09ff1cb650
1 file changed
+1
+1
View File
@@ -841,6 +841,7 @@ bool cmCTest::OpenOutputFile(const std::string& path, const std::string& name,
}
}
std::string filename = testingDir + "/" + name;
stream.SetTempExt("tmp");
stream.Open(filename);
if (!stream) {
cmCTestLog(this, ERROR_MESSAGE,