diff options
author | Brad King <brad.king@kitware.com> | 2022-06-10 16:33:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-06-10 18:24:03 (GMT) |
commit | 627c08e28bdf35a85b53f8b5fe46de03de80c2fd (patch) | |
tree | e4180b87fc0a1171818d60e68b5ccc26d86eda22 /Tests | |
parent | ab40020b17155a4a78ccfe7bc38efa239c27e38e (diff) | |
download | CMake-627c08e28bdf35a85b53f8b5fe46de03de80c2fd.zip CMake-627c08e28bdf35a85b53f8b5fe46de03de80c2fd.tar.gz CMake-627c08e28bdf35a85b53f8b5fe46de03de80c2fd.tar.bz2 |
Tests: Teach RunCMake to ignore Xcode DVTSDK warnings
On some Xcode versions, `xcodebuild` may warn:
... xcodebuild[...] [MT] DVTSDK: Warning: SDK path collision for path ...
Teach RunCMake to drop such incidental lines before matching against
expected output.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/RunCMake.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/RunCMake.cmake b/Tests/RunCMake/RunCMake.cmake index 02e0dec..6bc98f6 100644 --- a/Tests/RunCMake/RunCMake.cmake +++ b/Tests/RunCMake/RunCMake.cmake @@ -156,7 +156,9 @@ function(run_cmake test) "|[^\n]*install_name_tool: warning: changes being made to the file will invalidate the code signature in:" "|[^\n]*xcodebuild[^\n]*DVTPlugInManager" + "|[^\n]*xcodebuild[^\n]*DVTSDK: Warning: SDK path collision for path" "|[^\n]*xcodebuild[^\n]*Requested but did not find extension point with identifier" + "|[^\n]*xcodebuild[^\n]*nil host used in call to allows.*HTTPSCertificateForHost" "|[^\n]*xcodebuild[^\n]*warning: file type[^\n]*is based on missing file type" "|[^\n]*objc[^\n]*: Class [^\n]* One of the two will be used. Which one is undefined." "|[^\n]*is a member of multiple groups" |