summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestMultiProcessHandler.cxx
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2010-02-03 21:32:26 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2010-02-03 21:32:26 (GMT)
commitc87282ce52f6097a87106de3c36630f6867b10e6 (patch)
tree56885edc921f61a7d0155a2616506010d5f8ea7d /Source/CTest/cmCTestMultiProcessHandler.cxx
parent4864d48f27bfd92a20b4069565b960f4be979dda (diff)
downloadCMake-c87282ce52f6097a87106de3c36630f6867b10e6.zip
CMake-c87282ce52f6097a87106de3c36630f6867b10e6.tar.gz
CMake-c87282ce52f6097a87106de3c36630f6867b10e6.tar.bz2
Re-enabled Scheduler test and fixed the underlying problem.
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.cxx')
-rw-r--r--Source/CTest/cmCTestMultiProcessHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx
index a79f131..b6226a3 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.cxx
+++ b/Source/CTest/cmCTestMultiProcessHandler.cxx
@@ -325,7 +325,7 @@ void cmCTestMultiProcessHandler::WriteCostData(int index, float cost)
std::string fname = this->CTest->GetBinaryDir()
+ "/Testing/Temporary/CTestCostData.txt";
std::fstream fout;
- fout.open(fname.c_str(), std::ios::app);
+ fout.open(fname.c_str(), std::ios::out | std::ios::app);
fout << index << " " << cost << "\n";
fout.close();
}