Skip to content

Commit 04e8d24

Browse files
committed
Fix android_integration_test to work with the head Android tools. integration_test_setup.sh overrides the bazelrc in the test, so it must go before android_helper.sh which appends to the bazelrc to override the Android tools with the version built at head.
1 parent 2aa3137 commit 04e8d24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/shell/bazel/android/android_integration_test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@
2626
# Load the test setup defined in the parent directory
2727
CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
2828

29+
source "${CURRENT_DIR}/../../integration_test_setup.sh" \
30+
|| { echo "integration_test_setup.sh not found!" >&2; exit 1; }
31+
2932
source "${CURRENT_DIR}/android_helper.sh" \
3033
|| { echo "android_helper.sh not found!" >&2; exit 1; }
3134
fail_if_no_android_sdk
3235

33-
source "${CURRENT_DIR}/../../integration_test_setup.sh" \
34-
|| { echo "integration_test_setup.sh not found!" >&2; exit 1; }
35-
3636
resolve_android_toolchains "$1"
3737

3838
function test_sdk_library_deps() {

0 commit comments

Comments
 (0)