summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/RunCMake.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-29 20:07:53 (GMT)
committerBrad King <brad.king@kitware.com>2020-09-30 15:58:44 (GMT)
commit383e81aa60312433d25d68ab0ef4991aa3b869c1 (patch)
tree006c0c04ca5e4dface144eda32a03e99f9384f3e /Tests/RunCMake/RunCMake.cmake
parent8f75912176e74bc39dc18f6f1ae7fe65cca27017 (diff)
downloadCMake-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.cmake1
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"