gm: add --ignoreTests flag
BUG=skia:1600
R=scroggo@google.com
Review URL: https://codereview.chromium.org/23526065
git-svn-id: http://skia.googlecode.com/svn/trunk@11374 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/gm_expectations.h b/gm/gm_expectations.h
index 96c6d11..de89589 100644
--- a/gm/gm_expectations.h
+++ b/gm/gm_expectations.h
@@ -133,6 +133,11 @@
bool ignoreFailure() const { return this->fIgnoreFailure; }
/**
+ * Override default setting of fIgnoreFailure.
+ */
+ void setIgnoreFailure(bool val) { this->fIgnoreFailure = val; }
+
+ /**
* Returns true iff there are no allowed results.
*/
bool empty() const { return this->fAllowedResultDigests.empty(); }