From e8e67aed224d27c61c690940655ab8495083fca1 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 13 Sep 2013 14:46:15 -0400 Subject: 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. --- Tests/CTestTestMemcheck/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v0.12