aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
Diffstat (limited to 'gm')
-rw-r--r--gm/gmmain.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp
index a3e28338a6..611b58188f 100644
--- a/gm/gmmain.cpp
+++ b/gm/gmmain.cpp
@@ -1650,7 +1650,8 @@ int tool_main(int argc, char** argv) {
if (!gmmain.fExpectationsSource.get() ||
(ERROR_READING_REFERENCE_IMAGE & testErrors)) {
testsMissingReferenceImages++;
- } else if (ERROR_NONE == testErrors) {
+ }
+ if (ERROR_NONE == testErrors || ERROR_READING_REFERENCE_IMAGE == testErrors) {
testsPassed++;
} else {
testsFailed++;