diff options
author | Hal Canary <halcanary@google.com> | 2018-02-13 15:40:49 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-02-13 22:17:06 +0000 |
commit | cae61ebc8e60fd71198aead5babc83783d613b27 (patch) | |
tree | 9fa5d0e6a583f38944efea727957cad258745937 /site/dev/testing | |
parent | fee7cbaf44553dda1a0dd4bfc87a1dfc0d7dd369 (diff) |
SkQP: Document pre-built APKs
Docs-Preview: https://skia.org/dev/testing/skqp?cl=107027
No-Try: true
Change-Id: I49da6cb21f8165e997be320b946017717f0b618a
Reviewed-on: https://skia-review.googlesource.com/107027
Commit-Queue: Hal Canary <halcanary@google.com>
Reviewed-by: Stephan Altmueller <stephana@google.com>
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Diffstat (limited to 'site/dev/testing')
-rw-r--r-- | site/dev/testing/skqp.md | 45 |
1 files changed, 43 insertions, 2 deletions
diff --git a/site/dev/testing/skqp.md b/site/dev/testing/skqp.md index b3955682af..b7546e8d3e 100644 --- a/site/dev/testing/skqp.md +++ b/site/dev/testing/skqp.md @@ -1,6 +1,47 @@ SkQP ==== -More information about SkQP will be here in the future. +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. -For now, refer to https://skia.googlesource.com/skia/+/master/tools/skqp/README.md +These are universal APKs that contain native libraries for armeabi-v7a, +arm64-v8a, x86, and x86\_64 architectures. The most recent is listed first: + +<!-- +TZ='' git log \ +-\-date='format-local:%Y-%m-%d %H:%M:%S %Z' -5 origin/skqp/dev \ +-\-format=' * [`%h`](https://storage.googleapis.com/skia-skqp/skqp-universal-%h.apk)%n | `%cd` | %<(30,trunc)%s' +--> + + * [`d69db48840`](https://storage.googleapis.com/skia-skqp/skqp-universal-d69db48840.apk) + | `2018-02-13 21:07:09 UTC` | SkQP: relax five tests + * [`337919990b`](https://storage.googleapis.com/skia-skqp/skqp-universal-337919990b.apk) + | `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/android.support.test.runner.AndroidJUnitRunner + +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 |