diff --git a/Tests/RunCMake/CMP0156/CMP0156-NEW-AppleClang-Imported-build-stdout.txt b/Tests/RunCMake/CMP0156/CMP0156-NEW-AppleClang-Imported-build-stdout.txt index c60296760a..3828e20fc9 100644 --- a/Tests/RunCMake/CMP0156/CMP0156-NEW-AppleClang-Imported-build-stdout.txt +++ b/Tests/RunCMake/CMP0156/CMP0156-NEW-AppleClang-Imported-build-stdout.txt @@ -1,3 +1,5 @@ -ld: warning: ignoring duplicate libraries: '[^']*liblib1\.a' +[^ +]*ld: warning: ignoring duplicate libraries: '[^']*liblib1\.a' ld: fatal warning\(s\) induced error \(-fatal_warnings\) -(cc|clang): error: linker command failed with exit code 1 \(use -v to see invocation\) +[^ +]*(cc|clang): error: linker command failed with exit code 1 \(use -v to see invocation\) diff --git a/Tests/RunCMake/CMP0156/CMP0156-OLD-AppleClang-build-stdout.txt b/Tests/RunCMake/CMP0156/CMP0156-OLD-AppleClang-build-stdout.txt index 28dfd44a5a..d01e5a92db 100644 --- a/Tests/RunCMake/CMP0156/CMP0156-OLD-AppleClang-build-stdout.txt +++ b/Tests/RunCMake/CMP0156/CMP0156-OLD-AppleClang-build-stdout.txt @@ -1,3 +1,5 @@ -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\) +[^ +]*(cc|clang): error: linker command failed with exit code 1 \(use -v to see invocation\)