Skip to content

Commit

Permalink
Remove usage of split_attr since it has been disabled until correctne…
Browse files Browse the repository at this point in the history
…ss issues are fixed.

bazelbuild/bazel#8633 for details

RELNOTES: None
PiperOrigin-RevId: 253268379
  • Loading branch information
sergiocampama authored and swiple-rules-gardener committed Jun 14, 2019
1 parent 2178a79 commit c146151
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/starlark_tests/rules/apple_verification_test.bzl
Expand Up @@ -72,7 +72,10 @@ apple_verification_transition = transition(

def _apple_verification_test_impl(ctx):
"""Implementation of the apple_verification_test rule."""
bundle_info = ctx.split_attr.target_under_test.values()[0][AppleBundleInfo]

# Should be using split_attr instead, but it has been disabled due to
# https://github.com/bazelbuild/bazel/issues/8633
bundle_info = ctx.attr.target_under_test[0][AppleBundleInfo]
archive = bundle_info.archive
verifier_script = ctx.file.verifier_script

Expand Down

0 comments on commit c146151

Please sign in to comment.