Update rive-cpp to 2.0 version
[platform/core/uifw/rive-tizen.git] / submodule / skia / site / docs / dev / testing / skqp.md
1
2 ---
3 title: "SkQP"
4 linkTitle: "SkQP"
5
6 ---
7
8
9 Development APKs of SkQP are kept in Google storage.  Each file in named
10 with a abbreviated Git hash that points at the commit in the Skia repository it
11 was built with.
12
13 These are universal APKs that contain native libraries for armeabi-v7a,
14 arm64-v8a, x86, and x86\_64 architectures. The most recent is listed first.
15
16 The listing can be found here:
17 [https://storage.googleapis.com/skia-skqp/apklist](https://storage.googleapis.com/skia-skqp/apklist)
18
19 If you are looking at Android CTS failures, use the most recent commit on the
20 `origin/skqp/release` branch.
21
22 To 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
28 Monitor the output with:
29
30     adb logcat TestRunner org.skia.skqp skia DEBUG "*:S"
31
32 Note 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
37 Retrieve 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
44 Open 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
54 For more information about building your own APK, refer to
55 https://skia.googlesource.com/skia/+/main/tools/skqp/README.md
56