Merge "Fix tests/runtests.sh" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-04-26 17:01:26 +00:00
committed by Android (Google) Code Review

View File

@@ -19,7 +19,8 @@ set -x # print commands
adb root
adb wait-for-device
adb install -r -g "$OUT/testcases/FrameworksWifiApiTests/arm64/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/androidx.test.runner.AndroidJUnitRunner'