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

Side by Side Diff: dm/DM.cpp

Issue 1650113002: Print a message when DM finishes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "CrashHandler.h" 8 #include "CrashHandler.h"
9 #include "DMJsonWriter.h" 9 #include "DMJsonWriter.h"
10 #include "DMSrcSink.h" 10 #include "DMSrcSink.h"
(...skipping 1149 matching lines...) Expand 10 before | Expand all | Expand 10 after
1160 SkDebugf("%d failures\n", gFailures.count()); 1160 SkDebugf("%d failures\n", gFailures.count());
1161 return 1; 1161 return 1;
1162 } 1162 }
1163 if (gPending > 0) { 1163 if (gPending > 0) {
1164 SkDebugf("Hrm, we didn't seem to run everything we intended to! Please file a bug.\n"); 1164 SkDebugf("Hrm, we didn't seem to run everything we intended to! Please file a bug.\n");
1165 return 1; 1165 return 1;
1166 } 1166 }
1167 #ifdef SK_PDF_IMAGE_STATS 1167 #ifdef SK_PDF_IMAGE_STATS
1168 SkPDFImageDumpStats(); 1168 SkPDFImageDumpStats();
1169 #endif // SK_PDF_IMAGE_STATS 1169 #endif // SK_PDF_IMAGE_STATS
1170 SkDebugf("Finished!\n");
1170 return 0; 1171 return 0;
1171 } 1172 }
1172 1173
1173 // TODO: currently many GPU tests are declared outside SK_SUPPORT_GPU guards. 1174 // TODO: currently many GPU tests are declared outside SK_SUPPORT_GPU guards.
1174 // Thus we export the empty RunWithGPUTestContexts when SK_SUPPORT_GPU=0. 1175 // Thus we export the empty RunWithGPUTestContexts when SK_SUPPORT_GPU=0.
1175 namespace skiatest { 1176 namespace skiatest {
1176 namespace { 1177 namespace {
1177 typedef void(*TestWithGrContext)(skiatest::Reporter*, GrContext*); 1178 typedef void(*TestWithGrContext)(skiatest::Reporter*, GrContext*);
1178 typedef void(*TestWithGrContextAndGLContext)(skiatest::Reporter*, GrContext*, Sk GLContext*); 1179 typedef void(*TestWithGrContextAndGLContext)(skiatest::Reporter*, GrContext*, Sk GLContext*);
1179 #if SK_SUPPORT_GPU 1180 #if SK_SUPPORT_GPU
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
1257 Reporter* reporter, 1258 Reporter* reporter,
1258 GrContextFactory* fac tory); 1259 GrContextFactory* fac tory);
1259 } // namespace skiatest 1260 } // namespace skiatest
1260 1261
1261 #if !defined(SK_BUILD_FOR_IOS) 1262 #if !defined(SK_BUILD_FOR_IOS)
1262 int main(int argc, char** argv) { 1263 int main(int argc, char** argv) {
1263 SkCommandLineFlags::Parse(argc, argv); 1264 SkCommandLineFlags::Parse(argc, argv);
1264 return dm_main(); 1265 return dm_main();
1265 } 1266 }
1266 #endif 1267 #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