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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 'fontmgr_bounds_1_-0.25', | 185 'fontmgr_bounds_1_-0.25', |
186 'fontmgr_bounds', | 186 'fontmgr_bounds', |
187 'fontmgr_match', | 187 'fontmgr_match', |
188 'fontmgr_iter'] | 188 'fontmgr_iter'] |
189 # skia:5589 | 189 # skia:5589 |
190 bad_serialize_gms.extend(['bitmapfilters', | 190 bad_serialize_gms.extend(['bitmapfilters', |
191 'bitmapshaders', | 191 'bitmapshaders', |
192 'bleed', | 192 'bleed', |
193 'bleed_alpha_bmp', | 193 'bleed_alpha_bmp', |
194 'bleed_alpha_bmp_shader', | 194 'bleed_alpha_bmp_shader', |
| 195 'convex_poly_clip', |
195 'extractalpha', | 196 'extractalpha', |
196 'filterbitmap_checkerboard_32_32_g8', | 197 'filterbitmap_checkerboard_32_32_g8', |
197 'filterbitmap_image_mandrill_64', | 198 'filterbitmap_image_mandrill_64', |
198 'shadows', | 199 'shadows', |
199 'simpleaaclip_aaclip']) | 200 'simpleaaclip_aaclip']) |
200 for test in bad_serialize_gms: | 201 for test in bad_serialize_gms: |
201 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 202 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
202 | 203 |
203 if 'Mac' not in bot: | 204 if 'Mac' not in bot: |
204 for test in ['bleed_alpha_image', 'bleed_alpha_image_shader']: | 205 for test in ['bleed_alpha_image', 'bleed_alpha_image_shader']: |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 348 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
348 self_test() | 349 self_test() |
349 sys.exit(0) | 350 sys.exit(0) |
350 | 351 |
351 if len(sys.argv) != 3: | 352 if len(sys.argv) != 3: |
352 print usage | 353 print usage |
353 sys.exit(1) | 354 sys.exit(1) |
354 | 355 |
355 with open(sys.argv[1], 'w') as out: | 356 with open(sys.argv[1], 'w') as out: |
356 json.dump(get_args(sys.argv[2]), out) | 357 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |