summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-10 13:05:45 (GMT)
committerBrad King <brad.king@kitware.com>2022-03-10 13:05:56 (GMT)
commit5059db7c179635e2c73c6a8645b582940eb5a14d (patch)
tree20e98134f108144378954321bbcb566468e7f3b3 /Tests
parentcbd36eac23628f74ae3b50f9d1b8a0478c3e317a (diff)
downloadCMake-5059db7c179635e2c73c6a8645b582940eb5a14d.zip
CMake-5059db7c179635e2c73c6a8645b582940eb5a14d.tar.gz
CMake-5059db7c179635e2c73c6a8645b582940eb5a14d.tar.bz2
Tests: Fix CMake syntax warning in RunCMake.CTestCommandLine
Fix a regex added in the test by commit 140704d443 (ctest: add option for output truncation, 2022-03-07).
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/CTestCommandLine/RunCMakeTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CTestCommandLine/RunCMakeTest.cmake b/Tests/RunCMake/CTestCommandLine/RunCMakeTest.cmake
index 5b198bd..6835834 100644
--- a/Tests/RunCMake/CTestCommandLine/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CTestCommandLine/RunCMakeTest.cmake
@@ -293,7 +293,7 @@ function(run_TestOutputTruncation mode expected)
endfunction()
run_TestOutputTruncation("head" "\\.\\.\\.6789")
run_TestOutputTruncation("middle" "12\\.\\.\\..*\\.\\.\\.89")
-run_TestOutputTruncation("tail" "12345\.\.\.")
+run_TestOutputTruncation("tail" "12345\\.\\.\\.")
# Test --stop-on-failure
function(run_stop_on_failure)