summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/wifitests/coverage.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/wifitests/coverage.sh b/tests/wifitests/coverage.sh
index e291a1f74..348054137 100755
--- a/tests/wifitests/coverage.sh
+++ b/tests/wifitests/coverage.sh
@@ -37,6 +37,9 @@ EMMA_INSTRUMENT_STATIC=true make -j32 -C $ANDROID_BUILD_TOP -f build/core/main.m
set -x # print commands
+adb root
+adb wait-for-device
+
adb shell rm -f $REMOTE_COVERAGE_OUTPUT_FILE
adb install -r -g "$OUT/data/app/FrameworksWifiTests/FrameworksWifiTests.apk"