summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestMemCheckHandler.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-08-03 20:35:22 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-08-03 20:35:22 (GMT)
commit6baaf296a5ca4d463d9bc73d844a38582bf0f763 (patch)
treedf7ca54130d9971b876176872aea39e9f26782e2 /Source/CTest/cmCTestMemCheckHandler.cxx
parentbffcff45302210b65728d4d6a4b831e1605150f0 (diff)
downloadCMake-6baaf296a5ca4d463d9bc73d844a38582bf0f763.zip
CMake-6baaf296a5ca4d463d9bc73d844a38582bf0f763.tar.gz
CMake-6baaf296a5ca4d463d9bc73d844a38582bf0f763.tar.bz2
ENH: add another valgrind error type
Diffstat (limited to 'Source/CTest/cmCTestMemCheckHandler.cxx')
-rw-r--r--Source/CTest/cmCTestMemCheckHandler.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestMemCheckHandler.cxx b/Source/CTest/cmCTestMemCheckHandler.cxx
index b31e311..e5f0135 100644
--- a/Source/CTest/cmCTestMemCheckHandler.cxx
+++ b/Source/CTest/cmCTestMemCheckHandler.cxx
@@ -684,6 +684,7 @@ bool cmCTestMemCheckHandler::ProcessMemCheckValgrindOutput(
cmsys::RegularExpression vgUMR3("== .*Jump to the invalid address ");
cmsys::RegularExpression vgUMR4("== .*Syscall param .* contains "
"uninitialised or unaddressable byte\\(s\\)");
+ cmsys::RegularExpression vgUMR5("== .*Syscall param .* uninitialised");
cmsys::RegularExpression vgIPW("== .*Invalid write of size [0-9]");
cmsys::RegularExpression vgABR("== .*pthread_mutex_unlock: mutex is "
"locked by a different thread");
@@ -741,6 +742,10 @@ bool cmCTestMemCheckHandler::ProcessMemCheckValgrindOutput(
{
failure = cmCTestMemCheckHandler::UMR;
}
+ else if ( vgUMR5.find(lines[cc]) )
+ {
+ failure = cmCTestMemCheckHandler::UMR;
+ }
else if ( vgIPW.find(lines[cc]) )
{
failure = cmCTestMemCheckHandler::IPW;