aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/fiddle/parse-fiddle-output
diff options
context:
space:
mode:
authorGravatar Joe Gregorio <jcgregorio@google.com>2017-06-01 13:24:11 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-01 18:03:45 +0000
commit97b10ac4847fba563834911f35235aaf0299d0c8 (patch)
tree1b3298011a42a51faeb3d8a9c49e131130cd4e38 /tools/fiddle/parse-fiddle-output
parent842a56047093470de52083b8768585427e1def31 (diff)
[fiddle] Report GL driver info.
Bug: skia: Change-Id: I5338d6abef062f7da420e8cddafa082bedcfff25 Reviewed-on: https://skia-review.googlesource.com/18310 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Joe Gregorio <jcgregorio@google.com>
Diffstat (limited to 'tools/fiddle/parse-fiddle-output')
-rwxr-xr-xtools/fiddle/parse-fiddle-output7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/fiddle/parse-fiddle-output b/tools/fiddle/parse-fiddle-output
index f9a2fac6d6..f44ff6445e 100755
--- a/tools/fiddle/parse-fiddle-output
+++ b/tools/fiddle/parse-fiddle-output
@@ -9,9 +9,10 @@ while IFS= read -r line; do
type=$(echo $line | sed -n 's/[^"]*"\([^"]*\)":.*/\1/p')
if [ "$type" ]; then
case "$type" in
- Raster|Gpu) ext='.png';;
- Pdf) ext='.pdf';;
- Skp) ext='.skp';;
+ Raster|Gpu) ext='.png';;
+ Pdf) ext='.pdf';;
+ Skp) ext='.skp';;
+ Text|GLInfo) ext='.txt';;
esac
dst="${TMPDIR:-/tmp}/fiddle_${type}${ext}"
echo $line | sed 's/[^"]*"[^"]*": "//; s/"\(,\|\)$//' \