aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/tests
diff options
context:
space:
mode:
authorGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-05-31 15:13:45 +0000
committerGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-05-31 15:13:45 +0000
commitbe6188d64721850723c19d5a7a4f007a675300f4 (patch)
tree2b926f9494e79e77609deb9ad2ce87042768444a /tools/tests
parent76222c0ef2c5e63d2d9875e1cdb89e52049c7754 (diff)
skdiff: return nonzero exit value if there are any mismatches
This will allow us to replace "gm -r" in our buildbots with "skdiff". This will speed things up, and work around http://code.google.com/p/skia/issues/detail?id=473 ('PDF gradtext gm image results are nondeterministic') Review URL: https://codereview.appspot.com/6242071 git-svn-id: http://skia.googlecode.com/svn/trunk@4097 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools/tests')
-rw-r--r--tools/tests/skdiff/test1/output-expected/return_value2
-rw-r--r--tools/tests/skdiff/test2/output-expected/return_value2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/tests/skdiff/test1/output-expected/return_value b/tools/tests/skdiff/test1/output-expected/return_value
index 573541ac97..ec635144f6 100644
--- a/tools/tests/skdiff/test1/output-expected/return_value
+++ b/tools/tests/skdiff/test1/output-expected/return_value
@@ -1 +1 @@
-0
+9
diff --git a/tools/tests/skdiff/test2/output-expected/return_value b/tools/tests/skdiff/test2/output-expected/return_value
index 573541ac97..ec635144f6 100644
--- a/tools/tests/skdiff/test2/output-expected/return_value
+++ b/tools/tests/skdiff/test2/output-expected/return_value
@@ -1 +1 @@
-0
+9