summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ctest_memcheck/testMemorySanitizer.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-04-16 13:59:15 (GMT)
committerBrad King <brad.king@kitware.com>2020-04-16 14:08:58 (GMT)
commit82b60917769cf39e5c24917cb6f0fbeb95b89001 (patch)
tree6535071cb8d198f21014b73d603820951cd5d5aa /Tests/RunCMake/ctest_memcheck/testMemorySanitizer.cmake
parentb9b69774ee891e742bdeee6bf0afee96cbb970b3 (diff)
downloadCMake-82b60917769cf39e5c24917cb6f0fbeb95b89001.zip
CMake-82b60917769cf39e5c24917cb6f0fbeb95b89001.tar.gz
CMake-82b60917769cf39e5c24917cb6f0fbeb95b89001.tar.bz2
Tests: Fix RunCMake.ctest_memcheck test script syntax errors
Diffstat (limited to 'Tests/RunCMake/ctest_memcheck/testMemorySanitizer.cmake')
-rw-r--r--Tests/RunCMake/ctest_memcheck/testMemorySanitizer.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/ctest_memcheck/testMemorySanitizer.cmake b/Tests/RunCMake/ctest_memcheck/testMemorySanitizer.cmake
index 3b3ac22..4a6adb1 100644
--- a/Tests/RunCMake/ctest_memcheck/testMemorySanitizer.cmake
+++ b/Tests/RunCMake/ctest_memcheck/testMemorySanitizer.cmake
@@ -2,7 +2,7 @@
# options
message("MSAN_OPTIONS = [$ENV{MSAN_OPTIONS}]")
-string(REGEX REPLACE ".*log_path=\'([^\']*)\'.*" "\\1" LOG_FILE "$ENV{MSAN_OPTIONS}")
+string(REGEX REPLACE ".*log_path='([^']*)'.*" "\\1" LOG_FILE "$ENV{MSAN_OPTIONS}")
message("LOG_FILE=[${LOG_FILE}]")
# if we are not asked to simulate address sanitizer don't do it