mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-31 11:59:38 -06:00
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:
@@ -37,7 +37,7 @@ add_subdirectory(NoLogDummyChecker)
|
|||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
# filter out additional messages by Guard Malloc integrated in Xcode
|
# 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_lines "(${guard_malloc_msg}[^\n]*\n)*")
|
||||||
set(guard_malloc_output "${guard_malloc_msg}|")
|
set(guard_malloc_output "${guard_malloc_msg}|")
|
||||||
else()
|
else()
|
||||||
|
|||||||
Reference in New Issue
Block a user