summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestMemCheckHandler.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2014-07-24 15:25:59 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2014-07-24 15:25:59 (GMT)
commit5d40d88e0026824e237938a9e771206220857034 (patch)
tree03c10c39b1d7f898010a4df19fca963b2ca6fbe8 /Source/CTest/cmCTestMemCheckHandler.h
parentafe21fc3c43af0c031a77b3b48041d35f248f481 (diff)
downloadCMake-5d40d88e0026824e237938a9e771206220857034.zip
CMake-5d40d88e0026824e237938a9e771206220857034.tar.gz
CMake-5d40d88e0026824e237938a9e771206220857034.tar.bz2
Handle more than one process with sanitizer errors.
Since the Sanitizers write out one log file per process, a single test might have more than one log file. This commit allows ctest to read all of the log files found for a particual test.
Diffstat (limited to 'Source/CTest/cmCTestMemCheckHandler.h')
-rw-r--r--Source/CTest/cmCTestMemCheckHandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestMemCheckHandler.h b/Source/CTest/cmCTestMemCheckHandler.h
index 2630fde..2195dab 100644
--- a/Source/CTest/cmCTestMemCheckHandler.h
+++ b/Source/CTest/cmCTestMemCheckHandler.h
@@ -145,10 +145,10 @@ private:
///! append MemoryTesterOutputFile to the test log
void AppendMemTesterOutput(cmCTestTestHandler::cmCTestTestResult& res,
- int test);
+ std::string const& filename);
///! generate the output filename for the given test index
- std::string TestOutputFileName(int test);
+ void TestOutputFileNames(int test, std::vector<std::string>& files);
};
#endif