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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 'bitmapshaders', | 201 'bitmapshaders', |
202 'bleed', | 202 'bleed', |
203 'bleed_alpha_bmp', | 203 'bleed_alpha_bmp', |
204 'bleed_alpha_bmp_shader', | 204 'bleed_alpha_bmp_shader', |
205 'convex_poly_clip', | 205 'convex_poly_clip', |
206 'extractalpha', | 206 'extractalpha', |
207 'filterbitmap_checkerboard_32_32_g8', | 207 'filterbitmap_checkerboard_32_32_g8', |
208 'filterbitmap_image_mandrill_64', | 208 'filterbitmap_image_mandrill_64', |
209 'shadows', | 209 'shadows', |
210 'simpleaaclip_aaclip']) | 210 'simpleaaclip_aaclip']) |
| 211 # skia:5595 |
| 212 bad_serialize_gms.extend(['composeshader_bitmap', |
| 213 'scaled_tilemodes_npot', |
| 214 'scaled_tilemodes']) |
211 for test in bad_serialize_gms: | 215 for test in bad_serialize_gms: |
212 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 216 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
213 | 217 |
214 if 'Mac' not in bot: | 218 if 'Mac' not in bot: |
215 for test in ['bleed_alpha_image', 'bleed_alpha_image_shader']: | 219 for test in ['bleed_alpha_image', 'bleed_alpha_image_shader']: |
216 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 220 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
217 # It looks like we skip these only for out-of-memory concerns. | 221 # It looks like we skip these only for out-of-memory concerns. |
218 if 'Win' in bot or 'Android' in bot: | 222 if 'Win' in bot or 'Android' in bot: |
219 for test in ['verylargebitmap', 'verylarge_picture_image']: | 223 for test in ['verylargebitmap', 'verylarge_picture_image']: |
220 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 224 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 364 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
361 self_test() | 365 self_test() |
362 sys.exit(0) | 366 sys.exit(0) |
363 | 367 |
364 if len(sys.argv) != 3: | 368 if len(sys.argv) != 3: |
365 print usage | 369 print usage |
366 sys.exit(1) | 370 sys.exit(1) |
367 | 371 |
368 with open(sys.argv[1], 'w') as out: | 372 with open(sys.argv[1], 'w') as out: |
369 json.dump(get_args(sys.argv[2]), out) | 373 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |