diff options
author | 2017-04-07 12:15:21 +0000 | |
---|---|---|
committer | 2017-04-07 16:44:46 +0200 | |
commit | cabd3119286ed063ded0b77f165ac715871c0e7d (patch) | |
tree | b379e93a55b75c60903b8be136f1659af44e8d06 /src/test | |
parent | b379f65d77e0c3226c501308e6bd38f808d46d69 (diff) |
Fixes the broken test_ios_test and test_swift_test tests.
They need to explicitly request a minimum iOS version of 8.0 to work with Xcode 8.3, otherwise they fail with this error:
ld: embedded dylibs/frameworks are only supported on iOS 8.0 and later (@rpath/XCTest.framework/XCTest) for architecture x86_64
PiperOrigin-RevId: 152489692
Diffstat (limited to 'src/test')
-rwxr-xr-x | src/test/shell/bazel/apple/bazel_apple_test.sh | 1 | ||||
-rwxr-xr-x | src/test/shell/bazel/apple/bazel_objc_test.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/test/shell/bazel/apple/bazel_apple_test.sh b/src/test/shell/bazel/apple/bazel_apple_test.sh index 0639242df7..08810a219a 100755 --- a/src/test/shell/bazel/apple/bazel_apple_test.sh +++ b/src/test/shell/bazel/apple/bazel_apple_test.sh @@ -386,6 +386,7 @@ ios_test(name = "app_test", EOF bazel build --verbose_failures --xcode_version=$XCODE_VERSION \ + --ios_minimum_os=8.0 \ //ios:app_test >$TEST_log 2>&1 || fail "should build" otool -lv bazel-bin/ios/app_test_bin \ diff --git a/src/test/shell/bazel/apple/bazel_objc_test.sh b/src/test/shell/bazel/apple/bazel_objc_test.sh index 9349e18583..65cdd02043 100755 --- a/src/test/shell/bazel/apple/bazel_objc_test.sh +++ b/src/test/shell/bazel/apple/bazel_objc_test.sh @@ -115,6 +115,7 @@ function test_ios_test() { make_app bazel build --test_output=all --ios_sdk_version=$IOS_SDK_VERSION \ + --ios_minimum_os=8.0 \ //ios:PassingXcTest >$TEST_log 2>&1 || fail "should pass" ls bazel-bin/ios/PassingXcTest.ipa \ || fail "should generate PassingXcTest.ipa" |