diff options
author | Betsy McPhail <betsy.mcphail@kitware.com> | 2016-11-04 20:51:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-09 20:34:07 (GMT) |
commit | 3a523eec7814dfbed2361da298849a5b5964318a (patch) | |
tree | 2ed1c49fd6a61b4d11961a0c333a31390c06a57c /Source/CTest/cmCTestMemCheckHandler.h | |
parent | 60d80bca4afcfb3a38b588a5a2060cc275b4afbc (diff) | |
download | CMake-3a523eec7814dfbed2361da298849a5b5964318a.zip CMake-3a523eec7814dfbed2361da298849a5b5964318a.tar.gz CMake-3a523eec7814dfbed2361da298849a5b5964318a.tar.bz2 |
ctest_memcheck: Add DEFECT_COUNT option to capture defect count
Diffstat (limited to 'Source/CTest/cmCTestMemCheckHandler.h')
-rw-r--r-- | Source/CTest/cmCTestMemCheckHandler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestMemCheckHandler.h b/Source/CTest/cmCTestMemCheckHandler.h index b12da28..5faace0 100644 --- a/Source/CTest/cmCTestMemCheckHandler.h +++ b/Source/CTest/cmCTestMemCheckHandler.h @@ -30,6 +30,8 @@ public: void Initialize() CM_OVERRIDE; + int GetDefectCount(); + protected: int PreProcessHandler() CM_OVERRIDE; int PostProcessHandler() CM_OVERRIDE; @@ -105,6 +107,7 @@ private: std::vector<std::string> ResultStringsLong; std::vector<int> GlobalResults; bool LogWithPID; // does log file add pid + int DefectCount; std::vector<int>::size_type FindOrAddWarning(const std::string& warning); // initialize the ResultStrings and ResultStringsLong for |