Skip to content

Commit

Permalink
Fixes test breakage on darwin
Browse files Browse the repository at this point in the history
Fixes #1343 due to missing iOS SDK version.

--
Reviewed-on: #1350
MOS_MIGRATED_REVID=124328836
  • Loading branch information
Dmitry Shevchenko authored and meteorcloudy committed Jun 8, 2016
1 parent 9c72e54 commit 1b6852c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/test/shell/bazel/bazel_apple_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,9 @@ int main() {
EOF

bazel build --verbose_failures //package:lipo_out \
--ios_multi_cpus=i386,x86_64 || fail "should build apple_binary and obtain info via lipo"
--ios_multi_cpus=i386,x86_64 \
--ios_sdk_version=$IOS_SDK_VERSION \
|| fail "should build apple_binary and obtain info via lipo"

cat bazel-genfiles/package/lipo_out | grep "i386 x86_64" \
|| fail "expected output binary to contain 2 architectures"
Expand Down Expand Up @@ -315,6 +317,7 @@ EOF

bazel build --verbose_failures //package:extract_archives \
--ios_multi_cpus=i386,x86_64 \
--ios_sdk_version=$IOS_SDK_VERSION \
|| fail "should build multi-architecture archive"

assert_contains "x86_64.*archive" bazel-genfiles/package/info_x86_64
Expand Down

0 comments on commit 1b6852c

Please sign in to comment.