From 4eada724a35adc788d9286e53456afd4696e0cd5 Mon Sep 17 00:00:00 2001 From: John Cater Date: Mon, 16 Oct 2023 12:23:07 -0700 Subject: [PATCH] Disable testing `android_local_test` with Android platforms We need this until #19829 is fixed. This should unblock #18262. Closes #19830. PiperOrigin-RevId: 573892609 Change-Id: I944901a2be6c5a0cb9279dc86edc0741f3129769 --- .../bazel/android/android_local_test_integration_test.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/shell/bazel/android/android_local_test_integration_test.sh b/src/test/shell/bazel/android/android_local_test_integration_test.sh index 0c5cf553450e01..3aa761ff11c791 100755 --- a/src/test/shell/bazel/android/android_local_test_integration_test.sh +++ b/src/test/shell/bazel/android/android_local_test_integration_test.sh @@ -34,6 +34,11 @@ fail_if_no_android_sdk source "${CURRENT_DIR}/../../integration_test_setup.sh" \ || { echo "integration_test_setup.sh not found!" >&2; exit 1; } +if [[ "$1" = '--with_platforms' ]]; then + # TODO(https://github.com/bazelbuild/bazel/issues/19829): Re-enable when + # android_local_test works properly with Android platforms. + exit 0 +fi resolve_android_toolchains "$1" function setup_android_local_test_env() {