diff options
author | Maggie White <maggiewhite@google.com> | 2017-07-05 17:01:40 -0700 |
---|---|---|
committer | Maggie White <maggiewhite@google.com> | 2017-07-06 15:38:11 -0700 |
commit | 0584bbd4803436bc0492b8086e01c920a1cb2178 (patch) | |
tree | 0c7e68653df67147335ad4efe7442c8b8986bc10 /app-launcher/README | |
parent | ec913d2a15dc1cc88dc56eeb844b521138f7423c (diff) | |
download | extras-0584bbd4803436bc0492b8086e01c920a1cb2178.tar.gz |
Additional setup and reduced file collision
There's some additional setup needed to make sure the devices are all in
the same state, so I added instructions to the README.
I also changed the system_stats functions to use variables to store
string outputs instead of files to avoid collision when running multiple
instances of the script from the same directory.
Finally, I added cleanup at the end to remove the files created in the
process, and some general code cleanup throughout the script.
Bug: 62536649
Test: manual test on several devices
Change-Id: I843a1cefcf6bd11f28e513d735b3bf313442efd2
Diffstat (limited to 'app-launcher/README')
-rw-r--r-- | app-launcher/README | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app-launcher/README b/app-launcher/README index 238350e5..863a749a 100644 --- a/app-launcher/README +++ b/app-launcher/README @@ -5,6 +5,15 @@ Introduction: app-launcher is a script that launches apps many times, measures various system metrics, computes basic stats for the metrics and reports that stats. +Setup: +1) Make sure the device is seen via 'adb devices' and authorize adb via the +popup dialog. +2) Clear the setup wizard. +3) Login to an android user test account. +4) Clear the first time user dialogs on supported apps for your device (see +below). +5) Enable wifi and connect to a network (ex. GoogleGuest). + Launching app-launcher : app-launcher -a|-b|-u [-c|-v|-s <serial number>] num-iterations -a:Run on all cores |