diff options
Diffstat (limited to 'tests/skia_test.cpp')
-rw-r--r-- | tests/skia_test.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/skia_test.cpp b/tests/skia_test.cpp index 969c1ff54a..4cb55d0853 100644 --- a/tests/skia_test.cpp +++ b/tests/skia_test.cpp @@ -29,6 +29,7 @@ using namespace sk_gpu_test; DEFINE_bool2(dumpOp, d, false, "dump the pathOps to a file to recover mid-crash."); DEFINE_bool2(extendedTest, x, false, "run extended tests for pathOps."); +DEFINE_bool2(runFail, f, false, "check for success on tests known to fail."); DEFINE_bool2(verifyOp, y, false, "compare the pathOps result against a region."); #if DEBUG_COIN @@ -140,6 +141,7 @@ int test_main() { SkPathOpsDebug::gDumpOp = FLAGS_dumpOp; SkPathOpsDebug::gVerifyOp = FLAGS_verifyOp; #endif + SkPathOpsDebug::gRunFail = FLAGS_runFail; SkPathOpsDebug::gVeryVerbose = FLAGS_veryVerbose; SetupCrashHandler(); @@ -169,6 +171,11 @@ int test_main() { if (FLAGS_dumpOp) { header.appendf(" -d"); } +#ifdef SK_DEBUG + if (FLAGS_runFail) { + header.appendf(" -f"); + } +#endif if (FLAGS_verbose) { header.appendf(" -v"); } |