summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CTestCommandLine/TestOutputTruncation_middle-stderr.txt
diff options
context:
space:
mode:
authorFrank Winklmeier <frank.winklmeier@cern.ch>2022-09-05 11:42:40 (GMT)
committerFrank Winklmeier <frank.winklmeier@cern.ch>2022-09-05 11:42:40 (GMT)
commitcb55d5e730f8f40c2ba5ecf4771575117c56ef0c (patch)
tree7112707c7d00f249840315ababc64fef299633dd /Tests/RunCMake/CTestCommandLine/TestOutputTruncation_middle-stderr.txt
parent0e7bb4e783f596a1995d3a713682e6a54a41781e (diff)
downloadCMake-cb55d5e730f8f40c2ba5ecf4771575117c56ef0c.zip
CMake-cb55d5e730f8f40c2ba5ecf4771575117c56ef0c.tar.gz
CMake-cb55d5e730f8f40c2ba5ecf4771575117c56ef0c.tar.bz2
RunCMakeTest: fix Truncation test definition
The `ctest_test` and `CTestCommandLine` truncation tests had multiple problems: - escape expected result string to avoid regex matching - specify the truncation size - pass the truncation mode correctly into the test definition - use unique test names Issue: #23868
Diffstat (limited to 'Tests/RunCMake/CTestCommandLine/TestOutputTruncation_middle-stderr.txt')
-rw-r--r--Tests/RunCMake/CTestCommandLine/TestOutputTruncation_middle-stderr.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CTestCommandLine/TestOutputTruncation_middle-stderr.txt b/Tests/RunCMake/CTestCommandLine/TestOutputTruncation_middle-stderr.txt
new file mode 100644
index 0000000..30b46ce
--- /dev/null
+++ b/Tests/RunCMake/CTestCommandLine/TestOutputTruncation_middle-stderr.txt
@@ -0,0 +1 @@
+^Cannot find file: .*/Tests/RunCMake/CTestCommandLine/TestOutputTruncation.*/DartConfiguration.tcl