summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ctest_memcheck/testAddressSanitizer.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/ctest_memcheck/testAddressSanitizer.cmake')
-rw-r--r--Tests/RunCMake/ctest_memcheck/testAddressSanitizer.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/ctest_memcheck/testAddressSanitizer.cmake b/Tests/RunCMake/ctest_memcheck/testAddressSanitizer.cmake
index 3082e4b..1219666 100644
--- a/Tests/RunCMake/ctest_memcheck/testAddressSanitizer.cmake
+++ b/Tests/RunCMake/ctest_memcheck/testAddressSanitizer.cmake
@@ -2,7 +2,7 @@
# options
message("ASAN_OPTIONS = [$ENV{ASAN_OPTIONS}]")
-string(REGEX REPLACE ".*log_path=\"([^\"]*)\".*" "\\1" LOG_FILE "$ENV{ASAN_OPTIONS}")
+string(REGEX REPLACE ".*log_path=\'([^\']*)\'.*" "\\1" LOG_FILE "$ENV{ASAN_OPTIONS}")
message("LOG_FILE=[${LOG_FILE}]")
# if we are not asked to simulate address sanitizer don't do it