Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: dm/DM.cpp

Issue 853123003: newlines after failures (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698