aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsFuzz763Test.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2016-10-24 05:10:14 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-10-24 05:10:14 -0700
commit1326068147ee60de138061a3fc1157fcfd5d017b (patch)
tree050c8bfb9325c5b48782d09fb1246338e2343063 /tests/PathOpsFuzz763Test.cpp
parent826167111f80a4251266812cf720ad712bd29446 (diff)
formalize host debugging
Pathops writes files, anticipating upcoming crashes, and verifies the results against regions. Formalize these debugging methods so that they are more easily triggered by hosts outside of skia unit tests. TBR=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2441763003 Review-Url: https://codereview.chromium.org/2441763003
Diffstat (limited to 'tests/PathOpsFuzz763Test.cpp')
-rwxr-xr-xtests/PathOpsFuzz763Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PathOpsFuzz763Test.cpp b/tests/PathOpsFuzz763Test.cpp
index ecbada2a22..90d5723774 100755
--- a/tests/PathOpsFuzz763Test.cpp
+++ b/tests/PathOpsFuzz763Test.cpp
@@ -2093,7 +2093,7 @@ path.close();
SkPath path2(path);
// DEBUG_UNDER_DEVELOPMENT fuzz763_1026368 disable expectation check for now
- testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, !FLAGS_runFail);
+ testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, !SkOpGlobalState::DebugRunFail());
}
static void fuzz763_5485218(skiatest::Reporter* reporter, const char* filename) {