OLD | NEW |
1 # | 1 # |
2 # Copyright 2015 Google Inc. | 2 # Copyright 2015 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 #!/usr/bin/env python | 8 #!/usr/bin/env python |
9 | 9 |
10 usage = ''' | 10 usage = ''' |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 'colortype_xfermodes', | 162 'colortype_xfermodes', |
163 'colorwheelnative', | 163 'colorwheelnative', |
164 'drawfilter', | 164 'drawfilter', |
165 'fontmgr_bounds_0.75_0', | 165 'fontmgr_bounds_0.75_0', |
166 'fontmgr_bounds_1_-0.25', | 166 'fontmgr_bounds_1_-0.25', |
167 'fontmgr_bounds', | 167 'fontmgr_bounds', |
168 'fontmgr_match', | 168 'fontmgr_match', |
169 'fontmgr_iter', | 169 'fontmgr_iter', |
170 'lightingshader', | 170 'lightingshader', |
171 'path_stroke_with_zero_length', | 171 'path_stroke_with_zero_length', |
172 'textblobgeometrychange', | |
173 'verylargebitmap', # Windows only. | 172 'verylargebitmap', # Windows only. |
174 'verylarge_picture_image']: # Windows only. | 173 'verylarge_picture_image']: # Windows only. |
175 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 174 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
176 # skia:4769 | 175 # skia:4769 |
177 for test in ['drawfilter', | 176 for test in ['drawfilter', |
178 'path_stroke_with_zero_length', | 177 'path_stroke_with_zero_length']: |
179 'textblobgeometrychange']: | |
180 blacklist.extend([ 'sp-8888', 'gm', '_', test]) | 178 blacklist.extend([ 'sp-8888', 'gm', '_', test]) |
181 blacklist.extend([ 'pic-8888', 'gm', '_', test]) | 179 blacklist.extend([ 'pic-8888', 'gm', '_', test]) |
182 blacklist.extend(['2ndpic-8888', 'gm', '_', test]) | 180 blacklist.extend(['2ndpic-8888', 'gm', '_', test]) |
183 for test in ['patch_primitive']: | 181 for test in ['patch_primitive']: |
184 blacklist.extend(['sp-8888', 'gm', '_', test]) | 182 blacklist.extend(['sp-8888', 'gm', '_', test]) |
185 # skia:4703 | 183 # skia:4703 |
186 for test in ['image-cacherator-from-picture', | 184 for test in ['image-cacherator-from-picture', |
187 'image-cacherator-from-raster', | 185 'image-cacherator-from-raster', |
188 'image-cacherator-from-ctable']: | 186 'image-cacherator-from-ctable']: |
189 blacklist.extend([ 'sp-8888', 'gm', '_', test]) | 187 blacklist.extend([ 'sp-8888', 'gm', '_', test]) |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 293 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
296 self_test() | 294 self_test() |
297 sys.exit(0) | 295 sys.exit(0) |
298 | 296 |
299 if len(sys.argv) != 3: | 297 if len(sys.argv) != 3: |
300 print usage | 298 print usage |
301 sys.exit(1) | 299 sys.exit(1) |
302 | 300 |
303 with open(sys.argv[1], 'w') as out: | 301 with open(sys.argv[1], 'w') as out: |
304 json.dump(get_args(sys.argv[2]), out) | 302 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |