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 2012-02-12 23:26:05 -05:00 committed by Brad King
parent 62952bc9b4
commit ea4416cf7b
1 changed files with 1 additions and 1 deletions

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,]+");