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

Side by Side Diff: tools/flags/SkCommonFlags.cpp

Issue 389653004: share dm and command flags (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: address comments Created 6 years, 5 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
OLDNEW
(Empty)
1 /*
2 * Copyright 2014 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #include "SkCommonFlags.h"
9 #include "SkThreadPool.h"
10
11 DEFINE_bool(cpu, true, "Master switch for running CPU-bound work.");
12
13 DEFINE_bool(dryRun, false,
14 "Just print the tests that would be run, without actually running th em.");
15
16 DEFINE_bool(gpu, true, "Master switch for running GPU-bound work.");
17
18 DEFINE_bool2(leaks, l, false, "show leaked ref cnt'd objects.");
19
20 DEFINE_string2(match, m, NULL,
21 "[~][^]substring[$] [...] of GM name to run.\n"
22 "Multiple matches may be separated by spaces.\n"
23 "~ causes a matching GM to always be skipped\n"
24 "^ requires the start of the GM to match\n"
25 "$ requires the end of the GM to match\n"
26 "^ and $ requires an exact match\n"
27 "If a GM does not match any list entry,\n"
28 "it is skipped unless some list entry starts with ~");
29
30 DEFINE_bool2(single, z, false, "run tests on a single thread internally.");
31
32 DEFINE_int32(threads, SkThreadPool::kThreadPerCore,
33 "Run threadsafe tests on a threadpool with this many threads.");
34
35 DEFINE_bool2(verbose, v, false, "enable verbose output from the test driver.");
36
37 DEFINE_bool2(veryVerbose, V, false, "tell individual tests to be verbose.");
OLDNEW
« tests/skia_test.cpp ('K') | « tools/flags/SkCommonFlags.h ('k') | tools/iOSShell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698