diff options
author | Hal Canary <halcanary@google.com> | 2018-01-25 11:30:05 -0500 |
---|---|---|
committer | Hal Canary <halcanary@google.com> | 2018-01-25 16:30:22 +0000 |
commit | fd1d20b4bb26d5567f6dcc550611cde9ef7e7513 (patch) | |
tree | a5e1974114524c3393091584328f0c7f563d8d70 /tools/skqp/README.md | |
parent | fb9af7dcb61a09618dc85632eb0a98cb8d94051a (diff) |
SkQP: run_skqp_exe script
Change-Id: I9e3e4994e15856edd86a1f0f0ab91297c325dcca
Reviewed-on: https://skia-review.googlesource.com/99662
Reviewed-by: Hal Canary <halcanary@google.com>
Diffstat (limited to 'tools/skqp/README.md')
-rw-r--r-- | tools/skqp/README.md | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/tools/skqp/README.md b/tools/skqp/README.md index d9ee5fe6fd..51b0e275ca 100644 --- a/tools/skqp/README.md +++ b/tools/skqp/README.md @@ -23,6 +23,8 @@ How to run the SkQP tests yes | ~/android-sdk/tools/bin/sdkmanager --licenses export ANDROID_HOME=~/android-sdk # Or wherever you installed the Android SDK. + Put `adb` in your `PATH`. + 4. Get the right version of Skia: git clone https://skia.googlesource.com/skia.git @@ -67,14 +69,5 @@ Run as a non-APK executable 2. Build the SkQP program, load files on the device, and run skqp: ninja -C out/skqp-arm skqp - adb shell "cd /data/local/tmp; rm -rf skqp_assets report" - adb push platform_tools/android/apps/skqp/src/main/assets \ - /data/local/tmp/skqp_assets - adb push out/skqp-arm/skqp /data/local/tmp/ - adb shell "cd /data/local/tmp; ./skqp skqp_assets report" - -2. Get and view the error report: - - adb pull /data/local/tmp/report /tmp/ - tools/skqp/sysopen.py /tmp/report/report.html + python tools/skqp/run_skqp_exe out/skqp-arm |