From 79f7939179db34d4e284dfca459285cbfdc19cab Mon Sep 17 00:00:00 2001 From: "caryclark@google.com" Date: Fri, 12 Apr 2013 11:59:41 +0000 Subject: turn on pathops unit test This temporarily disables SK_ENABLE_INST_COUNT ( skbug.com/1219 ) This fixes a linktime error on VS2012 in PathTest.cpp; -SK_ScalarInfinity should be SK_ScalarNegativeInfinity instead. This adds pathops and pathops unit tests to the main unit tests. Should this change destabilize anything, it should be sufficient to comment out the pathops gypi includes. at test.gyp:18,21. Review URL: https://codereview.chromium.org/14137010 git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@8644 2bbb7eff-a529-9590-31e7-b0007b416f81 --- pathops_unittest.gypi | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pathops_unittest.gypi (limited to 'pathops_unittest.gypi') diff --git a/pathops_unittest.gypi b/pathops_unittest.gypi new file mode 100644 index 0000000..fb26c6a --- /dev/null +++ b/pathops_unittest.gypi @@ -0,0 +1,42 @@ +{ + 'sources': [ + '../tests/PathOpsBoundsTest.cpp', + '../tests/PathOpsCubicIntersectionTest.cpp', + '../tests/PathOpsCubicIntersectionTestData.cpp', + '../tests/PathOpsCubicLineIntersectionTest.cpp', + '../tests/PathOpsCubicReduceOrderTest.cpp', + '../tests/PathOpsCubicToQuadsTest.cpp', + '../tests/PathOpsDCubicTest.cpp', + '../tests/PathOpsDLineTest.cpp', + '../tests/PathOpsDPointTest.cpp', + '../tests/PathOpsDQuadTest.cpp', + '../tests/PathOpsDRectTest.cpp', + '../tests/PathOpsDTriangleTest.cpp', + '../tests/PathOpsDVectorTest.cpp', + '../tests/PathOpsExtendedTest.cpp', + '../tests/PathOpsLineIntersectionTest.cpp', + '../tests/PathOpsLineParametetersTest.cpp', + '../tests/PathOpsOpCubicThreadedTest.cpp', + '../tests/PathOpsOpRectThreadedTest.cpp', + '../tests/PathOpsOpTest.cpp', + '../tests/PathOpsQuadIntersectionTest.cpp', + '../tests/PathOpsQuadIntersectionTestData.cpp', + '../tests/PathOpsQuadLineIntersectionTest.cpp', + '../tests/PathOpsQuadLineIntersectionThreadedTest.cpp', + '../tests/PathOpsQuadParameterizationTest.cpp', + '../tests/PathOpsQuadReduceOrderTest.cpp', + '../tests/PathOpsSimplifyDegenerateThreadedTest.cpp', + '../tests/PathOpsSimplifyQuadralateralsThreadedTest.cpp', + '../tests/PathOpsSimplifyQuadThreadedTest.cpp', + '../tests/PathOpsSimplifyRectThreadedTest.cpp', + '../tests/PathOpsSimplifyTest.cpp', + '../tests/PathOpsSimplifyTrianglesThreadedTest.cpp', + '../tests/PathOpsTestCommon.cpp', + '../tests/PathOpsThreadedCommon.cpp', + '../tests/PathOpsCubicIntersectionTestData.h', + '../tests/PathOpsExtendedTest.h', + '../tests/PathOpsQuadIntersectionTestData.h', + '../tests/PathOpsTestCommon.h', + '../tests/PathOpsThreadedCommon.h', + ], +} -- cgit v1.2.3