summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2020-07-17 13:42:26 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2020-07-17 13:42:26 (GMT)
commit16692f492607e3af4e30d0a24e41d4c5d238e8c2 (patch)
tree98c11f5bbe21cf56576d38bf84faea351f08cd85 /Tests
parentf74a963021b1ca26c7145f53a622183522108bdf (diff)
downloadCMake-16692f492607e3af4e30d0a24e41d4c5d238e8c2.zip
CMake-16692f492607e3af4e30d0a24e41d4c5d238e8c2.tar.gz
CMake-16692f492607e3af4e30d0a24e41d4c5d238e8c2.tar.bz2
Apple: suppress Xcode 12 ranlib warning
The Xcode 12 (Beta) toolchain for arm64 emits a warning when static libraries are created: ``` ranlib: archive member: libStaticLib.a(a.c.o) offset in archive not a multiple of 8 (must be since member is an 64-bit object file) ``` Due to the unexpected output multiple tests are broken. To make those tests pass we filter the problematic output in the test driver. See: https://developer.apple.com/forums/thread/652620
Diffstat (limited to 'Tests')
-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 cb20fb1..c13c694 100644
--- a/Tests/RunCMake/RunCMake.cmake
+++ b/Tests/RunCMake/RunCMake.cmake
@@ -154,6 +154,7 @@ function(run_cmake test)
"|[^\n]*xcodebuild[^\n]*warning: file type[^\n]*is based on missing file type"
"|[^\n]*is a member of multiple groups"
+ "|[^\n]*offset in archive not a multiple of 8"
"|[^\n]*from Time Machine by path"
"|[^\n]*Bullseye Testing Technology"
")[^\n]*\n)+"