OLD | NEW |
(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."); |
OLD | NEW |