diff options
author | caryclark <caryclark@google.com> | 2016-10-24 05:10:14 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-24 05:10:14 -0700 |
commit | 1326068147ee60de138061a3fc1157fcfd5d017b (patch) | |
tree | 050c8bfb9325c5b48782d09fb1246338e2343063 /tests/PathOpsQuadIntersectionTest.cpp | |
parent | 826167111f80a4251266812cf720ad712bd29446 (diff) |
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
Diffstat (limited to 'tests/PathOpsQuadIntersectionTest.cpp')
-rw-r--r-- | tests/PathOpsQuadIntersectionTest.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/PathOpsQuadIntersectionTest.cpp b/tests/PathOpsQuadIntersectionTest.cpp index cb35944918..b0d9e3ae42 100644 --- a/tests/PathOpsQuadIntersectionTest.cpp +++ b/tests/PathOpsQuadIntersectionTest.cpp @@ -524,10 +524,8 @@ DEF_TEST(PathOpsQuadIntersection, reporter) { if (false) QuadraticIntersection_IntersectionFinder(); } -#include "SkCommonFlags.h" - DEF_TEST(PathOpsQuadBinaryProfile, reporter) { - if (!FLAGS_veryVerbose) { + if (!SkPathOpsDebug::gVeryVerbose) { return; } SkIntersections intersections; |