From 65b427cff9cd34a06ff060d65d00cc3615d8fd94 Mon Sep 17 00:00:00 2001 From: caryclark Date: Thu, 18 Sep 2014 10:32:57 -0700 Subject: 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 --- tests/PathOpsOpLoopThreadedTest.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/PathOpsOpLoopThreadedTest.cpp') 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; -- cgit v1.2.3