diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-08-28 19:08:03 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-08-28 19:08:03 (GMT) |
commit | b0b5ffcf5caf85cc47ec6a38e3f3e801f8c73bb0 (patch) | |
tree | 9e883593bf4ae6fb0878c56f77e4d88ec09a1927 /Source/CTest/cmCTestMemCheckHandler.h | |
parent | 996bb51a1d95645cf2274932be19e6a8a81de55b (diff) | |
download | CMake-b0b5ffcf5caf85cc47ec6a38e3f3e801f8c73bb0.zip CMake-b0b5ffcf5caf85cc47ec6a38e3f3e801f8c73bb0.tar.gz CMake-b0b5ffcf5caf85cc47ec6a38e3f3e801f8c73bb0.tar.bz2 |
MemCheck should now work again in ctest
Diffstat (limited to 'Source/CTest/cmCTestMemCheckHandler.h')
-rw-r--r-- | Source/CTest/cmCTestMemCheckHandler.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/Source/CTest/cmCTestMemCheckHandler.h b/Source/CTest/cmCTestMemCheckHandler.h index 8a9e4e7..c50d0ff 100644 --- a/Source/CTest/cmCTestMemCheckHandler.h +++ b/Source/CTest/cmCTestMemCheckHandler.h @@ -30,6 +30,7 @@ class cmMakefile; */ class cmCTestMemCheckHandler : public cmCTestTestHandler { + friend class cmCTestRunTest; public: cmTypeMacro(cmCTestMemCheckHandler, cmCTestTestHandler); @@ -41,7 +42,7 @@ public: protected: virtual int PreProcessHandler(); virtual int PostProcessHandler(); - virtual void GenerateTestCommand(std::vector<const char*>& args); + virtual void GenerateTestCommand(std::vector<std::string>& args); private: @@ -121,13 +122,7 @@ private: std::string& log, int* results); bool ProcessMemCheckBoundsCheckerOutput(const std::string& str, std::string& log, int* results); - /** - * Run one test - */ - virtual void ProcessOneTest(cmCTestTestProperties *props, - std::vector<cmStdString> &passed, - std::vector<cmStdString> &failed, - int count, int tmsize); + void PostProcessPurifyTest(cmCTestTestResult& res); void PostProcessBoundsCheckerTest(cmCTestTestResult& res); }; |