diff options
author | Frank Winklmeier <frank.winklmeier@cern.ch> | 2022-09-05 11:42:40 (GMT) |
---|---|---|
committer | Frank Winklmeier <frank.winklmeier@cern.ch> | 2022-09-05 11:42:40 (GMT) |
commit | cb55d5e730f8f40c2ba5ecf4771575117c56ef0c (patch) | |
tree | 7112707c7d00f249840315ababc64fef299633dd /Tests/RunCMake/CTestCommandLine/TestOutputTruncation_middle-stderr.txt | |
parent | 0e7bb4e783f596a1995d3a713682e6a54a41781e (diff) | |
download | CMake-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.txt | 1 |
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 |