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:
parent
8ea62fdf30
commit
e8e67aed22
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue