From 09ff1cb650a8084fce51f0005c446ea9215890d3 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 7 Jul 2020 13:36:49 -0400 Subject: cmCTest: Explicitly specify '.tmp' extension on in-progress log files Do not depend on `cmGeneratedFileStream` to have this default. --- Source/cmCTest.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index bca7540..4254e2e 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -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, -- cgit v0.12