diff options
author | Hal Canary <halcanary@google.com> | 2017-12-18 16:59:56 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-20 19:23:46 +0000 |
commit | 2a7f0aa9ebfd66c902dcf1a0ca86ced9fde60d5a (patch) | |
tree | 873498e4260d853ba81174b9bd1a123c423a5fef /tools/skqp/README.md | |
parent | 45e57732dd445110146679671880c7c17f09f11d (diff) |
SkQP: better error report workflow
* Generate report in app after running all tests.
* Add script to unpack backup.ab file.
* Remove unused index file.
* Streamline instructions in README.md.
Change-Id: I44c80b17332eb4496ee31578287b691bd646d71a
Reviewed-on: https://skia-review.googlesource.com/86742
Commit-Queue: Hal Canary <halcanary@google.com>
Reviewed-by: Hal Canary <halcanary@google.com>
Diffstat (limited to 'tools/skqp/README.md')
-rw-r--r-- | tools/skqp/README.md | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/tools/skqp/README.md b/tools/skqp/README.md index d3156a0573..3b311da959 100644 --- a/tools/skqp/README.md +++ b/tools/skqp/README.md @@ -35,7 +35,6 @@ How To Use SkQP on your Android device: 5. Generate the validation model data: - rm -rf platform_tools/android/apps/skqp/src/main/assets/gmkb go get go.skia.org/infra/golden/go/search go run tools/skqp/make_gmkb.go ~/Downloads/meta.json \ platform_tools/android/apps/skqp/src/main/assets/gmkb @@ -52,12 +51,11 @@ Run as an executable adb push out/${arch}-rel/skqp /data/local/tmp/ adb shell "cd /data/local/tmp; ./skqp gmkb report" -2. Produce a one-page error report if there are errors: +2. Get the error report if there are errors: - rm -rf /tmp/report if adb shell test -d /data/local/tmp/report; then adb pull /data/local/tmp/report /tmp/ - tools/skqp/make_report.py /tmp/report + tools/skqp/sysopen.py /tmp/report/report.html fi Run as an APK @@ -72,11 +70,8 @@ Run as an APK 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 + adb backup -f /tmp/skqp.ab org.skia.skqp + # Must unlock phone and verify backup. + tools/skqp/extract_report.py /tmp/skqp.ab + |