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/add_subdirectory/CMP0082-WARN-NoTopInstall-install-component-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/add_subdirectory/CMP0082-WARN-NoTopInstall-install-component-stdout.txt')
-rw-r--r-- | Tests/RunCMake/add_subdirectory/CMP0082-WARN-NoTopInstall-install-component-stdout.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/RunCMake/add_subdirectory/CMP0082-WARN-NoTopInstall-install-component-stdout.txt b/Tests/RunCMake/add_subdirectory/CMP0082-WARN-NoTopInstall-install-component-stdout.txt index f7a331d..c6020bd 100644 --- a/Tests/RunCMake/add_subdirectory/CMP0082-WARN-NoTopInstall-install-component-stdout.txt +++ b/Tests/RunCMake/add_subdirectory/CMP0082-WARN-NoTopInstall-install-component-stdout.txt @@ -1,3 +1,4 @@ -^-- Install configuration: "[^\n]*" +^-- Install configuration: "[^ +]*" -- Install component: "Unspecified" -- sub$ |