diff options
author | caryclark <caryclark@google.com> | 2014-09-18 10:32:57 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-18 10:32:57 -0700 |
commit | 65b427cff9cd34a06ff060d65d00cc3615d8fd94 (patch) | |
tree | 2226d5e4cddde9c97da5d80534ad3bfa468b8138 /tests/PathOpsOpLoopThreadedTest.cpp | |
parent | a0537deca24abc2713e72f61e9cec14bdcc703d0 (diff) |
fix battlefield website by disallowing very small coordinates
also add and remove comments to document other attempts to fix this that had drawbacks
R=fmalita@chromium.org
BUG=414409
Author: caryclark@google.com
Review URL: https://codereview.chromium.org/575553003
Diffstat (limited to 'tests/PathOpsOpLoopThreadedTest.cpp')
-rwxr-xr-x | tests/PathOpsOpLoopThreadedTest.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/PathOpsOpLoopThreadedTest.cpp b/tests/PathOpsOpLoopThreadedTest.cpp index 3f316d1fe9..c50e23bae9 100755 --- a/tests/PathOpsOpLoopThreadedTest.cpp +++ b/tests/PathOpsOpLoopThreadedTest.cpp @@ -62,6 +62,9 @@ static void testOpLoopsMain(PathOpsThreadState* data) { } DEF_TEST(PathOpsOpLoopsThreaded, reporter) { + if (!FLAGS_runFail) { + return; + } initializeTests(reporter, "cubicOp"); PathOpsThreadedTestRunner testRunner(reporter); for (int a = 0; a < 6; ++a) { // outermost @@ -81,6 +84,9 @@ finish: } DEF_TEST(PathOpsOpLoops, reporter) { + if (!FLAGS_runFail) { + return; + } initializeTests(reporter, "cubicOp"); PathOpsThreadState state; state.fReporter = reporter; |