SkQP run_skqp.sh catches crashes and failures now.

CQ_INCLUDE_TRYBOTS=skia.primary:Test-Debian9-Clang-NUC7i5BNK-CPU-Emulator-x86-devrel-All-Android_SKQP

Change-Id: I471b21a869f73b3b0a6d142d6eb7f1fc04fdfea5
Reviewed-on: https://skia-review.googlesource.com/c/170103
Reviewed-by: Kevin Lubick <kjlubick@google.com>
This commit is contained in:
Hal Canary 2018-11-09 10:22:20 -05:00
parent 0e67194586
commit 7600cb3566

View File

@ -23,5 +23,12 @@ sleep 10
adb install -r /OUT/skqp-x86-debug.apk
adb logcat -c
adb shell am instrument -w org.skia.skqp | fold -s
tmp_file="$(mktemp "${TMPDIR:-/tmp}/skqp.XXXXXXXXXX")"
adb shell am instrument -w org.skia.skqp | tee "$tmp_file" | fold -s
adb logcat -d TestRunner org.skia.skqp skia DEBUG "*:S"
grep -q '^OK ' "$tmp_file"