From ea4416cf7bca8b3123a5b26d159f7164d727a8e6 Mon Sep 17 00:00:00 2001 From: Alexandru Ciobanu Date: Sun, 12 Feb 2012 23:26:05 -0500 Subject: [PATCH] CTest: Match valgrind errors with "points to" (#12922) Teach CTest to match valgrind errors of the format "Syscall param ... points to uninitialised byte(s)". --- Source/CTest/cmCTestMemCheckHandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CTest/cmCTestMemCheckHandler.cxx b/Source/CTest/cmCTestMemCheckHandler.cxx index f0a98f9fd..035aaa9f9 100644 --- a/Source/CTest/cmCTestMemCheckHandler.cxx +++ b/Source/CTest/cmCTestMemCheckHandler.cxx @@ -679,7 +679,7 @@ bool cmCTestMemCheckHandler::ProcessMemCheckValgrindOutput( " bytes in [0-9,]+ blocks are definitely lost" " in loss record [0-9,]+ of [0-9,]+"); cmsys::RegularExpression vgPAR( - "== .*Syscall param .* contains unaddressable byte\\(s\\)"); + "== .*Syscall param .* (contains|points to) unaddressable byte\\(s\\)"); cmsys::RegularExpression vgMPK1( "== .*[0-9,]+ bytes in [0-9,]+ blocks are possibly lost in" " loss record [0-9,]+ of [0-9,]+");