| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1095 } | 1095 } |
| 1096 SkDebugf("%s", header.c_str()); | 1096 SkDebugf("%s", header.c_str()); |
| 1097 Iter iter; | 1097 Iter iter; |
| 1098 Test* test; | 1098 Test* test; |
| 1099 while ((test = iter.next()) != nullptr) { | 1099 while ((test = iter.next()) != nullptr) { |
| 1100 SkAutoTDelete<Test> owned(test); | 1100 SkAutoTDelete<Test> owned(test); |
| 1101 if (!SkCommandLineFlags::ShouldSkip(FLAGS_match, test->getName())) { | 1101 if (!SkCommandLineFlags::ShouldSkip(FLAGS_match, test->getName())) { |
| 1102 test->run(); | 1102 test->run(); |
| 1103 } | 1103 } |
| 1104 } | 1104 } |
| 1105 SkGraphics::Term(); |
| 1105 return 0; | 1106 return 0; |
| 1106 } | 1107 } |
| 1107 | 1108 |
| 1108 #if !defined(SK_BUILD_FOR_IOS) | 1109 #if !defined(SK_BUILD_FOR_IOS) |
| 1109 int main(int argc, char * const argv[]) { | 1110 int main(int argc, char * const argv[]) { |
| 1110 return tool_main(argc, (char**) argv); | 1111 return tool_main(argc, (char**) argv); |
| 1111 } | 1112 } |
| 1112 #endif | 1113 #endif |
| OLD | NEW |