diff options
author | Brad King <brad.king@kitware.com> | 2021-07-02 11:24:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-07-02 12:19:34 (GMT) |
commit | 3ede66e17a7160683a353c5414a131368eff4861 (patch) | |
tree | 87187b1e259cab4182d92ff570705f12663b0266 /Tests/RunCMake/GoogleTest/GoogleTest-property-timeout1-stdout.txt | |
parent | 6372e74ed4808f9cb6f2385cc4d8325e22a9fdb6 (diff) | |
download | CMake-3ede66e17a7160683a353c5414a131368eff4861.zip CMake-3ede66e17a7160683a353c5414a131368eff4861.tar.gz CMake-3ede66e17a7160683a353c5414a131368eff4861.tar.bz2 |
Tests: Fix newline matching in several RunCMake.* cases
The RunCMake infrastructure's `*-stdout.txt` expected output files
interpret `\n` as a `\` and `n` rather than a newline. Use a literal
newline instead. Otherwise the cases that were trying to match any
configuration name via `[^\n]*` would fail on `RelWithDebInfo` because
it contains the letter `n`.
Diffstat (limited to 'Tests/RunCMake/GoogleTest/GoogleTest-property-timeout1-stdout.txt')
-rw-r--r-- | Tests/RunCMake/GoogleTest/GoogleTest-property-timeout1-stdout.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Tests/RunCMake/GoogleTest/GoogleTest-property-timeout1-stdout.txt b/Tests/RunCMake/GoogleTest/GoogleTest-property-timeout1-stdout.txt index 0dda49d..5febfbf 100644 --- a/Tests/RunCMake/GoogleTest/GoogleTest-property-timeout1-stdout.txt +++ b/Tests/RunCMake/GoogleTest/GoogleTest-property-timeout1-stdout.txt @@ -1,10 +1,12 @@ Test project .*GoogleTest-build [ \t]*Start [0-9]+: property_timeout.case_no_discovery -[^\n]+property_timeout.case_no_discovery +\.+\*\*\*Timeout +[0-9.]+ sec +[^ +]+property_timeout.case_no_discovery +\.+\*\*\*Timeout +[0-9.]+ sec + 0% tests passed, 1 tests failed out of 1 + Total Test time \(real\) = +[0-9.]+ sec + The following tests FAILED: -[^\n]*property_timeout.case_no_discovery \(Timeout\) +[^ +]*property_timeout.case_no_discovery \(Timeout\) |