| OLD | NEW |
| 1 #include "DMTestTask.h" | 1 #include "DMTestTask.h" |
| 2 #include "DMUtil.h" | 2 #include "DMUtil.h" |
| 3 #include "SkCommandLineFlags.h" | 3 #include "SkCommandLineFlags.h" |
| 4 | 4 |
| 5 DEFINE_bool2(pathOpsExtended, x, false, "Run extended pathOps tests."); | 5 DEFINE_bool2(pathOpsExtended, x, false, "Run extended pathOps tests."); |
| 6 DEFINE_bool2(pathOpsSingleThread, z, false, "Disallow pathOps tests from using t
hreads."); | 6 DEFINE_bool2(pathOpsSingleThread, z, false, "Disallow pathOps tests from using t
hreads."); |
| 7 DEFINE_bool2(pathOpsVerbose, V, false, "Tell pathOps tests to be verbose.")
; | 7 DEFINE_bool2(pathOpsVerbose, V, false, "Tell pathOps tests to be verbose.")
; |
| 8 | 8 |
| 9 namespace DM { | 9 namespace DM { |
| 10 | 10 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 void GpuTestTask::draw(GrContextFactory* grFactory) { | 44 void GpuTestTask::draw(GrContextFactory* grFactory) { |
| 45 fTest->setGrContextFactory(grFactory); | 45 fTest->setGrContextFactory(grFactory); |
| 46 fTest->setReporter(&fTestReporter); | 46 fTest->setReporter(&fTestReporter); |
| 47 fTest->run(); | 47 fTest->run(); |
| 48 if (!fTest->passed()) { | 48 if (!fTest->passed()) { |
| 49 this->fail(fTestReporter.failure()); | 49 this->fail(fTestReporter.failure()); |
| 50 } | 50 } |
| 51 } | 51 } |
| 52 | 52 |
| 53 bool GpuTestTask::shouldSkip() const { |
| 54 return kGPUDisabled; |
| 55 } |
| 56 |
| 53 } // namespace DM | 57 } // namespace DM |
| OLD | NEW |