2018-01-12 18:04:07 +00:00
|
|
|
SkQP
|
|
|
|
====
|
|
|
|
|
2018-02-13 20:40:49 +00:00
|
|
|
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.
|
2018-01-24 18:42:38 +00:00
|
|
|
|
2018-02-13 20:40:49 +00:00
|
|
|
These are universal APKs that contain native libraries for armeabi-v7a,
|
2018-03-02 16:52:02 +00:00
|
|
|
arm64-v8a, x86, and x86\_64 architectures. The most recent is listed first.
|
2018-02-13 20:40:49 +00:00
|
|
|
|
2018-03-02 16:52:02 +00:00
|
|
|
The listing can be found here:
|
|
|
|
[https://storage.googleapis.com/skia-skqp/apklist](https://storage.googleapis.com/skia-skqp/apklist)
|
2018-02-13 20:40:49 +00:00
|
|
|
|
2019-02-28 15:54:37 +00:00
|
|
|
If you are looking at Android CTS failures, use the most recent commit on the
|
|
|
|
`origin/skqp/release` branch.
|
|
|
|
|
2018-02-13 20:40:49 +00:00
|
|
|
To run tests:
|
|
|
|
|
|
|
|
adb install -r skqp-universal-{APK_SHA_HERE}.apk
|
|
|
|
adb logcat -c
|
2018-02-20 19:48:40 +00:00
|
|
|
adb shell am instrument -w org.skia.skqp
|
2018-02-13 20:40:49 +00:00
|
|
|
|
|
|
|
Monitor the output with:
|
|
|
|
|
2018-10-19 14:48:03 +00:00
|
|
|
adb logcat TestRunner org.skia.skqp skia DEBUG "*:S"
|
2018-02-13 20:40:49 +00:00
|
|
|
|
|
|
|
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:
|
2019-02-28 15:54:37 +00:00
|
|
|
output written to "/storage/emulated/0/Android/data/org.skia.skqp/files/skqp_report_2019-02-28T102058"
|
2018-02-13 20:40:49 +00:00
|
|
|
|
|
|
|
Retrieve and view the report with:
|
|
|
|
|
2019-02-28 15:54:37 +00:00
|
|
|
OUTPUT_LOCATION="/storage/emulated/0/Android/data/org.skia.skqp/files/skqp_report_2019-02-28T102058"
|
|
|
|
adb pull "$OUTPUT_LOCATION" /tmp/
|
|
|
|
|
|
|
|
(Your value of `$OUTPUT_LOCATION` will differ from mine.
|
|
|
|
|
|
|
|
Open the file `/tmp/output/skqp_report_2019-02-28T102058/report.html` .
|
|
|
|
|
|
|
|
**Zip up that directory to attach to a bug report:**
|
2018-02-13 20:40:49 +00:00
|
|
|
|
2019-02-28 15:54:37 +00:00
|
|
|
cd /tmp
|
|
|
|
zip -r skqp_report_2019-02-28T102058.zip skqp_report_2019-02-28T102058
|
|
|
|
ls -l skqp_report_2019-02-28T102058.zip
|
2018-02-13 20:40:49 +00:00
|
|
|
|
|
|
|
* * *
|
|
|
|
|
|
|
|
For more information about building your own APK, refer to
|
|
|
|
https://skia.googlesource.com/skia/+/master/tools/skqp/README.md
|