diff options
author | Hal Canary <halcanary@google.com> | 2017-12-12 09:42:14 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-18 18:58:52 +0000 |
commit | 28f89389f026379aad6f90254ba37f4d37272bcb (patch) | |
tree | 7736d9a3fdd88d628bb070bc5348096d3e363a9a /tools/skqp/README.md | |
parent | 37155d476cd727329d985b75ecedbefe380a0f23 (diff) |
SkQP: add junit app
Change-Id: Ic32eaec6cce1509f07e7cf610717d3b12d335c89
Reviewed-on: https://skia-review.googlesource.com/83921
Reviewed-by: Hal Canary <halcanary@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'tools/skqp/README.md')
-rw-r--r-- | tools/skqp/README.md | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/tools/skqp/README.md b/tools/skqp/README.md index beac911ba0..d3156a0573 100644 --- a/tools/skqp/README.md +++ b/tools/skqp/README.md @@ -63,4 +63,20 @@ Run as an executable Run as an APK ------------- -[TODO] +1. Build the skqp.apk, load it on the device, and run the tests + + platform_tools/android/bin/android_build_app -C out/${arch}-rel skqp + adb install -r out/${arch}-rel/skqp.apk + adb shell am instrument -w \ + org.skia.skqp/android.support.test.runner.AndroidJUnitRunner + +2. Retrieve the report if there are any errors: + + rm -rf /tmp/skqp + mkdir /tmp/skqp + adb backup -f /tmp/skqp/backup.ab org.skia.skqp + dd if=/tmp/skqp/backup.ab bs=24 skip=1 | tools/skqp/inflate.py | \ + ( cd /tmp/skqp; tar x ) + rm /tmp/skqp/backup.ab + tools/skqp/make_report.py /tmp/skqp/apps/org.skia.skqp/f + |