Tests/RunCMake/CMP0156: Update for Xcode 26.4

Xcode 26.4 prints additional context at the start of diagnostic lines.
This commit is contained in:
Brad King
2026-04-02 14:47:52 -04:00
parent 8b92847daf
commit 20361a0589
2 changed files with 8 additions and 4 deletions

View File

@@ -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\)

View File

@@ -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\)