diff options
author | 2016-04-25 08:35:03 +0000 | |
---|---|---|
committer | 2016-04-25 09:10:50 +0000 | |
commit | 2bf6e92354adc8e16210f54c6538e9b9ddd41179 (patch) | |
tree | f40c7ea1fe0efc274493ea4656c8fadd7be714f5 | |
parent | ea4c42efd6376834d86fc27d4d640eac884de4ea (diff) |
Fixes the bazel_apple_test
Instead of default SDK version, use currently installed one.
Fixes #1184.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/1186
MOS_MIGRATED_REVID=120685979
-rwxr-xr-x | src/test/shell/bazel/bazel_apple_test.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/test/shell/bazel/bazel_apple_test.sh b/src/test/shell/bazel/bazel_apple_test.sh index 89141110a3..ecc766d6a6 100755 --- a/src/test/shell/bazel/bazel_apple_test.sh +++ b/src/test/shell/bazel/bazel_apple_test.sh @@ -28,6 +28,7 @@ fi function set_up() { copy_examples + setup_objc_test_support } function test_swift_library() { @@ -35,8 +36,10 @@ function test_swift_library() { ln -sv ${workspace_file} WORKSPACE local swift_lib_pkg=examples/swift - assert_build_output ./bazel-bin/${swift_lib_pkg}/swift_lib.a ${swift_lib_pkg}:swift_lib - assert_build_output ./bazel-bin/${swift_lib_pkg}/swift_lib.swiftmodule ${swift_lib_pkg}:swift_lib + assert_build_output ./bazel-bin/${swift_lib_pkg}/swift_lib.a \ + ${swift_lib_pkg}:swift_lib --ios_sdk_version=$IOS_SDK_VERSION + assert_build_output ./bazel-bin/${swift_lib_pkg}/swift_lib.swiftmodule \ + ${swift_lib_pkg}:swift_lib --ios_sdk_version=$IOS_SDK_VERSION } run_suite "apple_tests" |