summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Plass <mplass@google.com>2019-04-30 22:12:38 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-04-30 22:12:38 +0000
commitbe62c313ad74baad6ac53a7ae71337fbdfdedfe8 (patch)
treea2880e96244beb3a21855837646f925d2871d8c4
parent09d4aba478c38c174b952de99844e5c63f8a8618 (diff)
parenta184a4b1da2f49084dae4c7e676bba5c219495b9 (diff)
downloadbase-be62c313ad74baad6ac53a7ae71337fbdfdedfe8.tar.gz
Merge "Fix tests/runtests.sh"
-rwxr-xr-xwifi/tests/runtests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/wifi/tests/runtests.sh b/wifi/tests/runtests.sh
index 4e52b8f23399..9eb9a92bd53f 100755
--- a/wifi/tests/runtests.sh
+++ b/wifi/tests/runtests.sh
@@ -19,7 +19,8 @@ set -x # print commands
adb root
adb wait-for-device
-adb install -r -g "$OUT/data/app/FrameworksWifiApiTests/FrameworksWifiApiTests.apk"
+TARGET_ARCH=$($ANDROID_BUILD_TOP/build/soong/soong_ui.bash --dumpvar-mode TARGET_ARCH)
+adb install -r -g "$OUT/testcases/FrameworksWifiApiTests/$TARGET_ARCH/FrameworksWifiApiTests.apk"
adb shell am instrument --no-hidden-api-checks -w "$@" \
'android.net.wifi.test/android.support.test.runner.AndroidJUnitRunner'