diff options
author | Brad King <brad.king@kitware.com> | 2018-06-18 10:31:42 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-06-19 10:56:50 -0400 |
commit | 71fa78ff7af90c8384f1697ea1d0c2df0e0877c9 (patch) | |
tree | d9088cc94e9d86deea831be890a3548198959628 | |
parent | 057ecb8f6fe8178d8d50fc9dbf04d1d6027ddc42 (diff) | |
download | cmake-71fa78ff7af90c8384f1697ea1d0c2df0e0877c9.tar.gz |
Tests: Teach RunCMake to ignore Xcode missing file type warnings
Xcode 10 beta warns
xcodebuild... warning: file type '::com.apple.instruments.instrdst'
is based on missing file type 'default::com.apple.package'
Teach RunCMake to drop such lines before matching against expected
output.
-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 b2b38ef20c..69c96cc3d6 100644 --- a/Tests/RunCMake/RunCMake.cmake +++ b/Tests/RunCMake/RunCMake.cmake @@ -109,6 +109,7 @@ function(run_cmake test) "|clang[^:]*: warning: the object size sanitizer has no effect at -O0, but is explicitly enabled:" "|Error kstat returned" "|Hit xcodebuild bug" + "|[^\n]*xcodebuild[^\n]*warning: file type[^\n]*is based on missing file type" "|ld: 0711-224 WARNING: Duplicate symbol: .__init_aix_libgcc_cxa_atexit" "|ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information" "|[^\n]*is a member of multiple groups" |