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