aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsIssue3651.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PathOpsIssue3651.cpp')
-rw-r--r--tests/PathOpsIssue3651.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/PathOpsIssue3651.cpp b/tests/PathOpsIssue3651.cpp
index 574bec09c3..bd4ed2d9ab 100644
--- a/tests/PathOpsIssue3651.cpp
+++ b/tests/PathOpsIssue3651.cpp
@@ -473,7 +473,8 @@ static void issue3651_1a(skiatest::Reporter* reporter, const char* filename) {
SkPath path = path1_a();
SkPath pathB = path2_a();
// DEBUG_UNDER_DEVELOPMENT issue3651_1a disable expectation check for now
- testPathOpCheck(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename, !FLAGS_runFail);
+ testPathOpCheck(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename,
+ !SkOpGlobalState::DebugRunFail());
}
static SkPath path3() {
@@ -1204,7 +1205,8 @@ static void issue3651_1(skiatest::Reporter* reporter, const char* filename) {
SkPath path = path1();
SkPath pathB = path2();
// DEBUG_UNDER_DEVELOPMENT issue3651_1 disable expectation check for now
- testPathOpCheck(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename, !FLAGS_runFail);
+ testPathOpCheck(reporter, path, pathB, SkPathOp::kUnion_SkPathOp, filename,
+ !SkOpGlobalState::DebugRunFail());
}
static void issue3651_2(skiatest::Reporter* reporter, const char* filename) {