| OLD | NEW |
| 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 "OverwriteLine.h" |
| 8 #include "SkCommandLineFlags.h" | 9 #include "SkCommandLineFlags.h" |
| 9 #include "SkGraphics.h" | 10 #include "SkGraphics.h" |
| 10 #include "SkOSFile.h" | 11 #include "SkOSFile.h" |
| 11 #include "SkTArray.h" | 12 #include "SkTArray.h" |
| 12 #include "SkTemplates.h" | 13 #include "SkTemplates.h" |
| 13 #include "SkThreadPool.h" | 14 #include "SkThreadPool.h" |
| 14 #include "SkTime.h" | 15 #include "SkTime.h" |
| 15 #include "Test.h" | 16 #include "Test.h" |
| 16 #include "OverwriteLine.h" | |
| 17 | 17 |
| 18 #if SK_SUPPORT_GPU | 18 #if SK_SUPPORT_GPU |
| 19 #include "GrContext.h" | 19 #include "GrContext.h" |
| 20 #endif | 20 #endif |
| 21 | 21 |
| 22 using namespace skiatest; | 22 using namespace skiatest; |
| 23 | 23 |
| 24 DEFINE_string2(match, m, NULL, "[~][^]substring[$] [...] of test name to run.\n"
\ | 24 DEFINE_string2(match, m, NULL, "[~][^]substring[$] [...] of test name to run.\n"
\ |
| 25 "Multiple matches may be separated by spaces.\n"
\ | 25 "Multiple matches may be separated by spaces.\n"
\ |
| 26 "~ causes a matching test to always be skipped\n"
\ | 26 "~ causes a matching test to always be skipped\n"
\ |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 | 215 |
| 216 SkDebugf("\n"); | 216 SkDebugf("\n"); |
| 217 return (failCount == 0) ? 0 : 1; | 217 return (failCount == 0) ? 0 : 1; |
| 218 } | 218 } |
| 219 | 219 |
| 220 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) | 220 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) |
| 221 int main(int argc, char * const argv[]) { | 221 int main(int argc, char * const argv[]) { |
| 222 return tool_main(argc, (char**) argv); | 222 return tool_main(argc, (char**) argv); |
| 223 } | 223 } |
| 224 #endif | 224 #endif |
| OLD | NEW |