• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1SkQP
2====
3
4Development APKs of SkQP are kept in Google storage.  Each file in named
5with a abbreviated Git hash that points at the commit in the Skia repository it
6was built with.
7
8These are universal APKs that contain native libraries for armeabi-v7a,
9arm64-v8a, x86, and x86\_64 architectures. The most recent is listed first.
10
11The listing can be found here:
12[https://storage.googleapis.com/skia-skqp/apklist](https://storage.googleapis.com/skia-skqp/apklist)
13
14If you are looking at Android CTS failures, use the most recent commit on the
15`origin/skqp/release` branch.
16
17To run tests:
18
19    adb install -r skqp-universal-{APK_SHA_HERE}.apk
20    adb logcat -c
21    adb shell am instrument -w org.skia.skqp
22
23Monitor the output with:
24
25    adb logcat TestRunner org.skia.skqp skia DEBUG "*:S"
26
27Note the test's output path on the device.  It will look something like this:
28
29    01-23 15:22:12.688 27158 27173 I org.skia.skqp:
30    output written to "/storage/emulated/0/Android/data/org.skia.skqp/files/skqp_report_2019-02-28T102058"
31
32Retrieve and view the report with:
33
34    OUTPUT_LOCATION="/storage/emulated/0/Android/data/org.skia.skqp/files/skqp_report_2019-02-28T102058"
35    adb pull "$OUTPUT_LOCATION" /tmp/
36
37(Your value of `$OUTPUT_LOCATION` will differ from mine.
38
39Open the file `/tmp/output/skqp_report_2019-02-28T102058/report.html` .
40
41**Zip up that directory to attach to a bug report:**
42
43    cd /tmp
44    zip -r skqp_report_2019-02-28T102058.zip skqp_report_2019-02-28T102058
45    ls -l skqp_report_2019-02-28T102058.zip
46
47* * *
48
49For more information about building your own APK, refer to
50https://skia.googlesource.com/skia/+/master/tools/skqp/README.md
51