CTestTestMemcheck: Fix matching of malloc debug messages

In commit 10bc50ea (Tests: ignore Guard Malloc messages in MemChecker
tests, 2013-05-13) we forgot to escape backslashes in the CMake language
to get them into the regex.  Add them now.
This commit is contained in:
Brad King 2013-09-13 14:46:15 -04:00
parent 8ea62fdf30
commit e8e67aed22
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ add_subdirectory(NoLogDummyChecker)
if(APPLE)
# filter out additional messages by Guard Malloc integrated in Xcode
set(guard_malloc_msg "ctest\([0-9]+\) malloc: ")
set(guard_malloc_msg "ctest\\([0-9]+\\) malloc: ")
set(guard_malloc_lines "(${guard_malloc_msg}[^\n]*\n)*")
set(guard_malloc_output "${guard_malloc_msg}|")
else()