CTest: Match valgrind errors with "points to" (#12922)

Teach CTest to match valgrind errors of the format
"Syscall param ... points to uninitialised byte(s)".
This commit is contained in:
Alexandru Ciobanu authored and Brad King committed 2012-03-09 09:32:28 -05:00
1 parent 62952bc9b4
commit ea4416cf7b
1 file changed
+1 -1
+1 -1
View File
@@ -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,]+");