OLD | NEW |
1 #include "CrashHandler.h" | 1 #include "CrashHandler.h" |
2 #include "DMJsonWriter.h" | 2 #include "DMJsonWriter.h" |
3 #include "DMSrcSink.h" | 3 #include "DMSrcSink.h" |
4 #include "OverwriteLine.h" | 4 #include "OverwriteLine.h" |
5 #include "ProcStats.h" | 5 #include "ProcStats.h" |
6 #include "SkBBHFactory.h" | 6 #include "SkBBHFactory.h" |
7 #include "SkCommonFlags.h" | 7 #include "SkCommonFlags.h" |
8 #include "SkForceLinking.h" | 8 #include "SkForceLinking.h" |
9 #include "SkGraphics.h" | 9 #include "SkGraphics.h" |
10 #include "SkMD5.h" | 10 #include "SkMD5.h" |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 run_test(&gGPUTests[i]); | 460 run_test(&gGPUTests[i]); |
461 } | 461 } |
462 #endif | 462 #endif |
463 | 463 |
464 SkDebugf("\n"); | 464 SkDebugf("\n"); |
465 JsonWriter::DumpJson(); | 465 JsonWriter::DumpJson(); |
466 | 466 |
467 if (gFailures.count() > 0) { | 467 if (gFailures.count() > 0) { |
468 SkDebugf("Failures:\n"); | 468 SkDebugf("Failures:\n"); |
469 for (int i = 0; i < gFailures.count(); i++) { | 469 for (int i = 0; i < gFailures.count(); i++) { |
470 SkDebugf("\t%s", gFailures[i].c_str()); | 470 SkDebugf("\t%s\n", gFailures[i].c_str()); |
471 } | 471 } |
472 SkDebugf("%d failures\n", gFailures.count()); | 472 SkDebugf("%d failures\n", gFailures.count()); |
473 return 1; | 473 return 1; |
474 } | 474 } |
475 if (gPending > 0) { | 475 if (gPending > 0) { |
476 SkDebugf("Hrm, we didn't seem to run everything we intended to! Please
file a bug.\n"); | 476 SkDebugf("Hrm, we didn't seem to run everything we intended to! Please
file a bug.\n"); |
477 return 1; | 477 return 1; |
478 } | 478 } |
479 return 0; | 479 return 0; |
480 } | 480 } |
481 | 481 |
482 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) | 482 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) |
483 int main(int argc, char** argv) { | 483 int main(int argc, char** argv) { |
484 SkCommandLineFlags::Parse(argc, argv); | 484 SkCommandLineFlags::Parse(argc, argv); |
485 return dm_main(); | 485 return dm_main(); |
486 } | 486 } |
487 #endif | 487 #endif |
OLD | NEW |