aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/gmmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/gmmain.cpp')
-rw-r--r--gm/gmmain.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp
index 0827ae6f5c..ca49d1911f 100644
--- a/gm/gmmain.cpp
+++ b/gm/gmmain.cpp
@@ -316,6 +316,11 @@ static bool compare_to_reference_image(const char readPath [],
renderModeDescriptor);
} else {
fprintf(stderr, "FAILED to read %s\n", path.c_str());
+ // we lie here, and report succes, since we're just missing a master
+ // image. This way we can check in new tests, and not report failure.
+ // A real failure is to draw *differently* from the master image, but
+ // that's not the case here.
+ success = true;
}
return success;
}