summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-10-16 20:49:09 (GMT)
committerBrad King <brad.king@kitware.com>2024-10-16 20:49:27 (GMT)
commit645b57b8cd9add9624f34e599070e65a98e10790 (patch)
tree163cb9636b71d9ca4af617df40974d7db859ab2b /Tests
parent98ccd8800aff02f3db63bd7e99ec9602fb5e7def (diff)
downloadCMake-645b57b8cd9add9624f34e599070e65a98e10790.zip
CMake-645b57b8cd9add9624f34e599070e65a98e10790.tar.gz
CMake-645b57b8cd9add9624f34e599070e65a98e10790.tar.bz2
Tests/RunCMake/CMP0156: Match expected results more precisely
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/CMP0156/CMP0156-OLD-AppleClang-build-result.txt2
-rw-r--r--Tests/RunCMake/CMP0156/CMP0156-OLD-AppleClang-build-stdout.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/CMP0156/CMP0156-OLD-AppleClang-build-result.txt b/Tests/RunCMake/CMP0156/CMP0156-OLD-AppleClang-build-result.txt
index b18168c..d197c91 100644
--- a/Tests/RunCMake/CMP0156/CMP0156-OLD-AppleClang-build-result.txt
+++ b/Tests/RunCMake/CMP0156/CMP0156-OLD-AppleClang-build-result.txt
@@ -1 +1 @@
-.+
+[^0]
diff --git a/Tests/RunCMake/CMP0156/CMP0156-OLD-AppleClang-build-stdout.txt b/Tests/RunCMake/CMP0156/CMP0156-OLD-AppleClang-build-stdout.txt
index ea3b5c1..28dfd44 100644
--- a/Tests/RunCMake/CMP0156/CMP0156-OLD-AppleClang-build-stdout.txt
+++ b/Tests/RunCMake/CMP0156/CMP0156-OLD-AppleClang-build-stdout.txt
@@ -1,3 +1,3 @@
-ld: warning: ignoring duplicate libraries: '.*liblib1.a', '.*liblib2.a'
+ld: warning: ignoring duplicate libraries: '[^']*liblib1\.a', '[^']*liblib2\.a'
ld: fatal warning\(s\) induced error \(-fatal_warnings\)
(cc|clang): error: linker command failed with exit code 1 \(use -v to see invocation\)