diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2013-08-07 20:25:48 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2013-08-07 20:25:48 (GMT) |
commit | 6f9aaad150f769cd73df408514cf5dc42c020074 (patch) | |
tree | 3b4f2b157d40db6b8d6ea5af708e01c11cadb060 /Source/CTest/cmCTestBatchTestHandler.cxx | |
parent | 7c9f0c664f5782c09c686b8e51fe50245463914b (diff) | |
download | CMake-6f9aaad150f769cd73df408514cf5dc42c020074.zip CMake-6f9aaad150f769cd73df408514cf5dc42c020074.tar.gz CMake-6f9aaad150f769cd73df408514cf5dc42c020074.tar.bz2 |
CTest: create one output file per memcheck (#14303)
The output file used for memory checker runs must be unique for every test run
in parallel, so simply make them unique for every test run. Simply use the test
index to avoid collisions.
Diffstat (limited to 'Source/CTest/cmCTestBatchTestHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestBatchTestHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestBatchTestHandler.cxx b/Source/CTest/cmCTestBatchTestHandler.cxx index a22c7be..934481b 100644 --- a/Source/CTest/cmCTestBatchTestHandler.cxx +++ b/Source/CTest/cmCTestBatchTestHandler.cxx @@ -89,7 +89,7 @@ void cmCTestBatchTestHandler::WriteTestCommand(int test, std::fstream& fout) command = cmSystemTools::ConvertToOutputPath(command.c_str()); //Prepends memcheck args to our command string if this is a memcheck - this->TestHandler->GenerateTestCommand(processArgs); + this->TestHandler->GenerateTestCommand(processArgs, test); processArgs.push_back(command); for(std::vector<std::string>::iterator arg = processArgs.begin(); |