From 1326068147ee60de138061a3fc1157fcfd5d017b Mon Sep 17 00:00:00 2001 From: caryclark Date: Mon, 24 Oct 2016 05:10:14 -0700 Subject: 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 --- tests/PathOpsFuzz763Test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/PathOpsFuzz763Test.cpp') 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) { -- cgit v1.2.3