diff options
author | Michael Plass <mplass@google.com> | 2019-04-30 22:12:38 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-04-30 22:12:38 +0000 |
commit | be62c313ad74baad6ac53a7ae71337fbdfdedfe8 (patch) | |
tree | a2880e96244beb3a21855837646f925d2871d8c4 | |
parent | 09d4aba478c38c174b952de99844e5c63f8a8618 (diff) | |
parent | a184a4b1da2f49084dae4c7e676bba5c219495b9 (diff) | |
download | base-be62c313ad74baad6ac53a7ae71337fbdfdedfe8.tar.gz |
Merge "Fix tests/runtests.sh"
-rwxr-xr-x | wifi/tests/runtests.sh | 3 |
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' |