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

Side by Side Diff: tests/skia_test.cpp

Issue 1228553010: Remove skia_arch_width, fold into skia_arch_type. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 4 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 | « tests/PathOpsSkpClipTest.cpp ('k') | 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 2011 Google Inc. 2 * Copyright 2011 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 "OverwriteLine.h" 9 #include "OverwriteLine.h"
10 #include "Resources.h" 10 #include "Resources.h"
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 } 146 }
147 SkString resourcePath = GetResourcePath(); 147 SkString resourcePath = GetResourcePath();
148 if (!resourcePath.isEmpty()) { 148 if (!resourcePath.isEmpty()) {
149 header.appendf(" --resourcePath %s", resourcePath.c_str()); 149 header.appendf(" --resourcePath %s", resourcePath.c_str());
150 } 150 }
151 #ifdef SK_DEBUG 151 #ifdef SK_DEBUG
152 header.append(" SK_DEBUG"); 152 header.append(" SK_DEBUG");
153 #else 153 #else
154 header.append(" SK_RELEASE"); 154 header.append(" SK_RELEASE");
155 #endif 155 #endif
156 header.appendf(" skia_arch_width=%d", (int)sizeof(void*) * 8);
157 if (FLAGS_veryVerbose) { 156 if (FLAGS_veryVerbose) {
158 header.appendf("\n"); 157 header.appendf("\n");
159 } 158 }
160 SkDebugf("%s", header.c_str()); 159 SkDebugf("%s", header.c_str());
161 } 160 }
162 161
163 162
164 // Count tests first. 163 // Count tests first.
165 int total = 0; 164 int total = 0;
166 int toRun = 0; 165 int toRun = 0;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 SkDebugf("\n"); 220 SkDebugf("\n");
222 return (status.failCount() == 0) ? 0 : 1; 221 return (status.failCount() == 0) ? 0 : 1;
223 } 222 }
224 223
225 #if !defined(SK_BUILD_FOR_IOS) 224 #if !defined(SK_BUILD_FOR_IOS)
226 int main(int argc, char** argv) { 225 int main(int argc, char** argv) {
227 SkCommandLineFlags::Parse(argc, argv); 226 SkCommandLineFlags::Parse(argc, argv);
228 return test_main(); 227 return test_main();
229 } 228 }
230 #endif 229 #endif
OLDNEW
« no previous file with comments | « tests/PathOpsSkpClipTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698