Skip to content

Commit

Permalink
Remove aar_import in the tests, because it's still present in Bazel7
Browse files Browse the repository at this point in the history
  • Loading branch information
comius committed Oct 9, 2024
1 parent 3f76821 commit 532d486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/shell/integration/load_removed_symbols_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ aar_import(
)
EOF

bazel build --incompatible_autoload_externally= :aar >&$TEST_log 2>&1 && fail "build unexpectedly succeeded"
bazel build --incompatible_autoload_externally=-aar_import :aar >&$TEST_log 2>&1 && fail "build unexpectedly succeeded"
expect_log "name 'aar_import' is not defined"
}

Expand All @@ -231,7 +231,7 @@ load(":macro.bzl", "macro")
macro()
EOF

bazel build --incompatible_autoload_externally= :aar >&$TEST_log 2>&1 && fail "build unexpectedly succeeded"
bazel build --incompatible_autoload_externally=-aar_import :aar >&$TEST_log 2>&1 && fail "build unexpectedly succeeded"
expect_log "no native function or rule 'aar_import'"
}

Expand Down

0 comments on commit 532d486

Please sign in to comment.