diff options
author | Brad King <brad.king@kitware.com> | 2020-07-07 17:36:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-07-08 19:49:56 (GMT) |
commit | 09ff1cb650a8084fce51f0005c446ea9215890d3 (patch) | |
tree | 4ec9a0cfd80c58e6af8793dde3a06fc52fb0198c | |
parent | 0d3a034725bdf221f7ea47eee286854facac4979 (diff) | |
download | CMake-09ff1cb650a8084fce51f0005c446ea9215890d3.zip CMake-09ff1cb650a8084fce51f0005c446ea9215890d3.tar.gz CMake-09ff1cb650a8084fce51f0005c446ea9215890d3.tar.bz2 |
cmCTest: Explicitly specify '.tmp' extension on in-progress log files
Do not depend on `cmGeneratedFileStream` to have this default.
-rw-r--r-- | Source/cmCTest.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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, |