diff options
author | Brad King <brad.king@kitware.com> | 2020-09-29 20:07:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-09-30 15:58:44 (GMT) |
commit | 383e81aa60312433d25d68ab0ef4991aa3b869c1 (patch) | |
tree | 006c0c04ca5e4dface144eda32a03e99f9384f3e /Tests/RunCMake/RunCMake.cmake | |
parent | 8f75912176e74bc39dc18f6f1ae7fe65cca27017 (diff) | |
download | CMake-383e81aa60312433d25d68ab0ef4991aa3b869c1.zip CMake-383e81aa60312433d25d68ab0ef4991aa3b869c1.tar.gz CMake-383e81aa60312433d25d68ab0ef4991aa3b869c1.tar.bz2 |
Tests: Teach RunCMake to ignore Xcode internal objc warnings
Xcode on Apple Silicon warns:
objc[...]: Class AMSupportURL... is implemented in both ...
One of the two will be used. Which one is undefined.
Teach RunCMake to drop such lines before matching against expected
output.
Diffstat (limited to 'Tests/RunCMake/RunCMake.cmake')
-rw-r--r-- | Tests/RunCMake/RunCMake.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/RunCMake.cmake b/Tests/RunCMake/RunCMake.cmake index c13c694..7d96e50 100644 --- a/Tests/RunCMake/RunCMake.cmake +++ b/Tests/RunCMake/RunCMake.cmake @@ -153,6 +153,7 @@ function(run_cmake test) "|contact PGI Sales at" "|[^\n]*xcodebuild[^\n]*warning: file type[^\n]*is based on missing file type" + "|[^\n]*objc[^\n]*: Class AMSupportURL[^\n]* One of the two will be used. Which one is undefined." "|[^\n]*is a member of multiple groups" "|[^\n]*offset in archive not a multiple of 8" "|[^\n]*from Time Machine by path" |