Index: tests/PathOpsSkpTest.cpp |
diff --git a/tests/PathOpsSkpTest.cpp b/tests/PathOpsSkpTest.cpp |
index 6af790f72a5f531220caa69e1820813054c516b0..32ddf61f437edfe7bca8ccc02542b635d201e967 100755 |
--- a/tests/PathOpsSkpTest.cpp |
+++ b/tests/PathOpsSkpTest.cpp |
@@ -7,6 +7,8 @@ |
#include "PathOpsExtendedTest.h" |
#define TEST(name) { name, #name } |
+ |
+#define TEST_NEW_FAILURES 0 |
static void skpcheeseandburger_com225(skiatest::Reporter* reporter, const char* filename) { |
SkPath path; |
@@ -3588,6 +3590,7 @@ |
testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); |
} |
+#if TEST_NEW_FAILURES |
static void skpwww_devbridge_com_22(skiatest::Reporter* reporter, const char* filename) { |
SkPath path; |
path.setFillType(SkPath::kEvenOdd_FillType); |
@@ -3613,14 +3616,10 @@ |
pathB.quadTo(4942.75146f, 1523, 4962.375f, 1542.6239f); |
pathB.quadTo(4981.99902f, 1562.24768f, 4981.99902f, 1590); |
pathB.close(); |
- if (FLAGS_runFail) { |
- testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); |
- } else { |
- // INVESTIGATE : why this normal test takes fail case (test has never worked) |
- testPathFailOp(reporter, path, pathB, kIntersect_PathOp, filename); |
- } |
-} |
- |
+ testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); |
+} |
+ |
+// cubic/quad intersection |
static void skpwww_alamdi_com_3(skiatest::Reporter* reporter, const char* filename) { |
SkPath path; |
path.setFillType(SkPath::kEvenOdd_FillType); |
@@ -3653,6 +3652,7 @@ |
testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); |
} |
+// bumpSpan failed assertion "span->fOppValue >= 0" |
static void skpwww_familysurvivalprotocol_wordpress_com_61(skiatest::Reporter* reporter, const char* filename) { |
SkPath path; |
path.setFillType(SkPath::kEvenOdd_FillType); |
@@ -3670,6 +3670,7 @@ |
pathB.lineTo(165, 14557); |
testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); |
} |
+#endif |
static void skpwww_firstunitedbank_com_19(skiatest::Reporter* reporter, const char* filename) { |
SkPath path; |
@@ -3760,6 +3761,8 @@ |
testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); |
} |
+#if TEST_NEW_FAILURES |
+// SkOpSegment.cpp:3915: failed assertion "otherEnd >= 0" |
static void skpwww_shinydemos_com_15(skiatest::Reporter* reporter, const char* filename) { |
SkPath path; |
path.setFillType(SkPath::kEvenOdd_FillType); |
@@ -3783,9 +3786,6 @@ |
// SkOpSegment.cpp:4398: failed assertion "!span->fDone" |
static void skpwww_lptemp_com_5(skiatest::Reporter* reporter, const char* filename) { |
- if (/* 0 && */ !FLAGS_runFail) { // has never worked MUST BE FIXED BEFORE NEXT CHECKIN |
- return; |
- } |
SkPath path; |
path.setFillType(SkPath::kEvenOdd_FillType); |
path.moveTo(78.6429825f, 3150.97632f); |
@@ -3814,19 +3814,22 @@ |
pathB.lineTo(77.6666718f, 3153.3335f); |
pathB.cubicTo(77.6666718f, 3151.49268f, 79.15905f, 3150, 81, 3150); |
pathB.close(); |
- testPathOpCheck(reporter, path, pathB, kIntersect_PathOp, filename, FLAGS_runFail); |
-} |
+ testPathOp(reporter, path, pathB, kIntersect_PathOp, filename); |
+} |
+#endif |
static void (*firstTest)(skiatest::Reporter* , const char* filename) = 0; |
static struct TestDesc tests[] = { |
TEST(skpwww_lptemp_com_3), |
TEST(skpwww_shinydemos_com_5), |
+#if TEST_NEW_FAILURES |
TEST(skpwww_lptemp_com_5), |
TEST(skpwww_shinydemos_com_15), |
TEST(skpwww_familysurvivalprotocol_wordpress_com_61), |
TEST(skpwww_alamdi_com_3), |
TEST(skpwww_devbridge_com_22), |
+#endif |
TEST(skpwww_firstunitedbank_com_19), |
TEST(skpwww_googleventures_com_32), |
TEST(skpwww_9to5mac_com_64), |