aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/gm_expectations.h
diff options
context:
space:
mode:
Diffstat (limited to 'gm/gm_expectations.h')
-rw-r--r--gm/gm_expectations.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gm/gm_expectations.h b/gm/gm_expectations.h
index 96c6d11d25..de8958975b 100644
--- a/gm/gm_expectations.h
+++ b/gm/gm_expectations.h
@@ -133,6 +133,11 @@ namespace skiagm {
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(); }