diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/test/shell/bazel/android/android_integration_test.sh | 2 | ||||
-rwxr-xr-x | src/test/shell/bazel/android/android_ndk_integration_test.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/shell/bazel/android/android_integration_test.sh b/src/test/shell/bazel/android/android_integration_test.sh index d5d44468cd..29a0da060d 100755 --- a/src/test/shell/bazel/android/android_integration_test.sh +++ b/src/test/shell/bazel/android/android_integration_test.sh @@ -186,7 +186,7 @@ function test_android_sdk_repository_returns_null_if_env_vars_missing() { ANDROID_HOME=$ANDROID_SDK bazel build @androidsdk//:files || "Build failed" } -if [[ ! -r "${TEST_SRCDIR}/androidsdk/tools/android" ]]; then +if [[ ! -d "${TEST_SRCDIR}/androidsdk" ]]; then echo "Not running Android tests due to lack of an Android SDK." exit 0 fi diff --git a/src/test/shell/bazel/android/android_ndk_integration_test.sh b/src/test/shell/bazel/android/android_ndk_integration_test.sh index 44bd3f4875..155514040b 100755 --- a/src/test/shell/bazel/android/android_ndk_integration_test.sh +++ b/src/test/shell/bazel/android/android_ndk_integration_test.sh @@ -293,7 +293,7 @@ if [[ ! -r "${TEST_SRCDIR}/androidndk/ndk/RELEASE.TXT" ]]; then fi fi -if [[ ! -r "${TEST_SRCDIR}/androidsdk/tools/android" ]]; then +if [[ ! -d "${TEST_SRCDIR}/androidsdk" ]]; then echo "Not running Android NDK tests due to lack of an Android SDK." exit 0 fi |