aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skqp/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'tools/skqp/README.md')
-rw-r--r--tools/skqp/README.md17
1 files changed, 16 insertions, 1 deletions
diff --git a/tools/skqp/README.md b/tools/skqp/README.md
index 3583d2abd6..53daf25d6d 100644
--- a/tools/skqp/README.md
+++ b/tools/skqp/README.md
@@ -64,7 +64,7 @@ How to build and run the SkQP tests
platform_tools/android/bin/android_build_app -C out/skqp-arm skqp
adb install -r out/skqp-arm/skqp.apk
adb logcat -c
- adb shell am instrument -w org.skia.skqp/android.support.test.runner.AndroidJUnitRunner
+ adb shell am instrument -w org.skia.skqp
6. Monitor the output with:
@@ -81,6 +81,21 @@ How to build and run the SkQP tests
adb pull $OUTPUT_LOCATION /tmp/
tools/skqp/sysopen.py /tmp/output/skqp_report/report.html
+Running a single test
+---------------------
+
+To run a single test, for example `gles/aarectmodes`:
+
+ adb shell am instrument -e skqp_filter gles/aarectmodes -w org.skia.skqp
+
+Two run multiple tests, simply separate them with commas:
+
+ adb shell am instrument -e skqp_filter gles/aarectmodes,vk/aarectmodes -w org.skia.skqp
+
+Unit tests can be run with the `unitTest/` prefix:
+
+ adb shell am instrument -e skqp_filter unitTest/GrSurface -w org.skia.skqp
+
Run as a non-APK executable
---------------------------