diff options
Diffstat (limited to 'gm/gmmain.cpp')
-rw-r--r-- | gm/gmmain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp index 19adf2658d..57514f1a94 100644 --- a/gm/gmmain.cpp +++ b/gm/gmmain.cpp @@ -1432,10 +1432,10 @@ int tool_main(int argc, char** argv) { // want to also tabulate pixel mismatches vs dimension mistmatches // (or whatever else), we can do so. testsRun++; - if (ERROR_NONE == testErrors) { - testsPassed++; - } else if (ERROR_READING_REFERENCE_IMAGE & testErrors) { + if (!readPath || (ERROR_READING_REFERENCE_IMAGE & testErrors)) { testsMissingReferenceImages++; + } else if (ERROR_NONE == testErrors) { + testsPassed++; } else { testsFailed++; } |