summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestMemcheck
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-09-13 18:46:15 (GMT)
committerBrad King <brad.king@kitware.com>2013-09-13 20:47:47 (GMT)
commite8e67aed224d27c61c690940655ab8495083fca1 (patch)
treea58c5698144d06f01f08d244970d554942383a2a /Tests/CTestTestMemcheck
parent8ea62fdf302e1e499075db50412fbe80b1115fd9 (diff)
downloadCMake-e8e67aed224d27c61c690940655ab8495083fca1.zip
CMake-e8e67aed224d27c61c690940655ab8495083fca1.tar.gz
CMake-e8e67aed224d27c61c690940655ab8495083fca1.tar.bz2
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.
Diffstat (limited to 'Tests/CTestTestMemcheck')
-rw-r--r--Tests/CTestTestMemcheck/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CTestTestMemcheck/CMakeLists.txt b/Tests/CTestTestMemcheck/CMakeLists.txt
index d595c98..b5162c9 100644
--- a/Tests/CTestTestMemcheck/CMakeLists.txt
+++ b/Tests/CTestTestMemcheck/CMakeLists.txt
@@ -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()