skia2/site/dev/testing/skqp.md
Hal Canary 528b446889 SkQP/Doc: new APKs
No-Try: true
Change-Id: I4b71afc1c2629d3aca4f6c0b6bd1fdebc9d954be
Reviewed-on: https://skia-review.googlesource.com/109167
Reviewed-by: Hal Canary <halcanary@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
2018-02-21 21:15:36 +00:00

1.9 KiB

SkQP

Development APKs of SkQP are kept in Google storage. Each file in named with a abbreviated Git hash that points at the commit in the Skia repository it was built with.

These are universal APKs that contain native libraries for armeabi-v7a, arm64-v8a, x86, and x86_64 architectures. The most recent is listed first:

  • 103b402a29 | 2018-02-21 20:56:10 UTC | SkQP: run a single test
  • 38efb0d355 | 2018-02-20 20:48:45 UTC | Add SKQP bot to build univer..
  • d69db48840 | 2018-02-13 21:07:09 UTC | SkQP: relax five tests
  • 337919990b | 2018-02-13 19:33:12 UTC | SkQP: debug option, and fix..

To run tests:

adb install -r skqp-universal-{APK_SHA_HERE}.apk
adb logcat -c
adb shell am instrument -w org.skia.skqp

Monitor the output with:

adb logcat org.skia.skqp skia "*:S"

Note the test's output path on the device. It will look something like this:

01-23 15:22:12.688 27158 27173 I org.skia.skqp:
output written to "/storage/emulated/0/Android/data/org.skia.skqp/files/output"

Retrieve and view the report with:

OUTPUT_LOCATION="/storage/emulated/0/Android/data/org.skia.skqp/files/output"
adb pull $OUTPUT_LOCATION /tmp/

Open the file /tmp/output/skqp_report/report.html .


For more information about building your own APK, refer to https://skia.googlesource.com/skia/+/master/tools/skqp/README.md