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

Side by Side Diff: gm/gmmain.cpp

Issue 23526065: gm: add --ignoreTests flag (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: add_unimplemented_flag Created 7 years, 3 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 | Annotate | Revision Log
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 /* 8 /*
9 * Code for the "gm" (Golden Master) rendering comparison tool. 9 * Code for the "gm" (Golden Master) rendering comparison tool.
10 * 10 *
(...skipping 1362 matching lines...) Expand 10 before | Expand all | Expand 10 after
1373 #if SK_SUPPORT_GPU 1373 #if SK_SUPPORT_GPU
1374 DEFINE_string(gpuCacheSize, "", "<bytes> <count>: Limit the gpu cache to byte si ze or " 1374 DEFINE_string(gpuCacheSize, "", "<bytes> <count>: Limit the gpu cache to byte si ze or "
1375 "object count. " TOSTRING(DEFAULT_CACHE_VALUE) " for either value means " 1375 "object count. " TOSTRING(DEFAULT_CACHE_VALUE) " for either value means "
1376 "use the default. 0 for either disables the cache."); 1376 "use the default. 0 for either disables the cache.");
1377 #endif 1377 #endif
1378 DEFINE_bool(hierarchy, false, "Whether to use multilevel directory structure " 1378 DEFINE_bool(hierarchy, false, "Whether to use multilevel directory structure "
1379 "when reading/writing files."); 1379 "when reading/writing files.");
1380 DEFINE_string(ignoreErrorTypes, kDefaultIgnorableErrorTypes.asString(" ").c_str( ), 1380 DEFINE_string(ignoreErrorTypes, kDefaultIgnorableErrorTypes.asString(" ").c_str( ),
1381 "Space-separated list of ErrorTypes that should be ignored. If any *other* error " 1381 "Space-separated list of ErrorTypes that should be ignored. If any *other* error "
1382 "types are encountered, the tool will exit with a nonzero return v alue."); 1382 "types are encountered, the tool will exit with a nonzero return v alue.");
1383 DEFINE_string(ignoreTests, "", "Space delimited list of tests for which we shoul d ignore "
epoger 2013/09/18 18:57:41 Patchset 2: Adding the ignoreTests flag, but it do
1384 "failures.");
1383 DEFINE_string(match, "", "[~][^]substring[$] [...] of test name to run.\n" 1385 DEFINE_string(match, "", "[~][^]substring[$] [...] of test name to run.\n"
1384 "Multiple matches may be separated by spaces.\n" 1386 "Multiple matches may be separated by spaces.\n"
1385 "~ causes a matching test to always be skipped\n" 1387 "~ causes a matching test to always be skipped\n"
1386 "^ requires the start of the test to match\n" 1388 "^ requires the start of the test to match\n"
1387 "$ requires the end of the test to match\n" 1389 "$ requires the end of the test to match\n"
1388 "^ and $ requires an exact match\n" 1390 "^ and $ requires an exact match\n"
1389 "If a test does not match any list entry,\n" 1391 "If a test does not match any list entry,\n"
1390 "it is skipped unless some list entry starts with ~"); 1392 "it is skipped unless some list entry starts with ~");
1391 DEFINE_string(missingExpectationsPath, "", "Write images for tests without expec tations " 1393 DEFINE_string(missingExpectationsPath, "", "Write images for tests without expec tations "
1392 "into this directory."); 1394 "into this directory.");
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
2246 if (FLAGS_forceBWtext) { 2248 if (FLAGS_forceBWtext) {
2247 canvas->setDrawFilter(SkNEW(BWTextDrawFilter))->unref(); 2249 canvas->setDrawFilter(SkNEW(BWTextDrawFilter))->unref();
2248 } 2250 }
2249 } 2251 }
2250 2252
2251 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) 2253 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL)
2252 int main(int argc, char * const argv[]) { 2254 int main(int argc, char * const argv[]) {
2253 return tool_main(argc, (char**) argv); 2255 return tool_main(argc, (char**) argv);
2254 } 2256 }
2255 #endif 2257 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698