aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathOpsOpRectThreadedTest.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-05-13 10:13:17 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-13 10:13:17 -0700
commit38a017bf44aa1ad25291ad0cbb4ccbe8bd31ab0b (patch)
tree0b0d4162932dd39d9e8508a2a3579aeab46f0eda /tests/PathOpsOpRectThreadedTest.cpp
parent8780bc65bd5a53a38ac4b0a53a5fb283e066ec40 (diff)
clean up tests
Confirm that no path ops tests are flaky, and clean up errors around that. The test framework was incorrectly checking for >= MAX_ERRORS for failure and <= MAX_ERRORS for success. TBR=reed@google.com Review URL: https://codereview.chromium.org/1140563003
Diffstat (limited to 'tests/PathOpsOpRectThreadedTest.cpp')
-rw-r--r--tests/PathOpsOpRectThreadedTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PathOpsOpRectThreadedTest.cpp b/tests/PathOpsOpRectThreadedTest.cpp
index d2fb1185ac..9195e4a616 100644
--- a/tests/PathOpsOpRectThreadedTest.cpp
+++ b/tests/PathOpsOpRectThreadedTest.cpp
@@ -71,7 +71,7 @@ static void testPathOpsRectsMain(PathOpsThreadState* data)
if (progress) {
outputProgress(state.fPathStr, pathStr, (SkPathOp) op);
}
- testThreadedPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, "rects");
+ testPathOp(state.fReporter, pathA, pathB, (SkPathOp) op, "rects");
}
}
}