commit | a8fd79d407ce056d32316932dce8b898d932ae6d | [log] [tgz] |
---|---|---|
author | epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri May 13 19:26:48 2011 +0000 |
committer | epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri May 13 19:26:48 2011 +0000 |
tree | 5eda7fbcb918bbbc23269d687cd1cc644b1f0e40 | |
parent | 6e7a7b3b1d0a168d668f120832d6cc1946dc9ef6 [diff] [blame] |
make tests return nonzero if failing http://codereview.appspot.com/4545042/ git-svn-id: http://skia.googlecode.com/svn/trunk@1323 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/skia_test.cpp b/tests/skia_test.cpp index 25248a3..f931d62 100644 --- a/tests/skia_test.cpp +++ b/tests/skia_test.cpp
@@ -123,5 +123,5 @@ SkDebugf("Finished %d tests, %d failures.\n", count, count - successCount); } - return 0; + return (count == successCount) ? 0 : 1; }