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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 blacklist.extend('_ image gen_platf 24bpp-pixeldata-cropped.bmp'.split(' ')) | 157 blacklist.extend('_ image gen_platf 24bpp-pixeldata-cropped.bmp'.split(' ')) |
158 | 158 |
159 # skia:4095 | 159 # skia:4095 |
160 for test in ['not_native32_bitmap_config', | 160 for test in ['not_native32_bitmap_config', |
161 'bleed_image', | 161 'bleed_image', |
162 'bleed_alpha_image', | 162 'bleed_alpha_image', |
163 'bleed_alpha_image_shader', | 163 'bleed_alpha_image_shader', |
164 'c_gms', | 164 'c_gms', |
165 'colortype', | 165 'colortype', |
166 'colortype_xfermodes', | 166 'colortype_xfermodes', |
167 'colorwheelnative', | |
168 'drawfilter', | 167 'drawfilter', |
169 'fontmgr_bounds_0.75_0', | 168 'fontmgr_bounds_0.75_0', |
170 'fontmgr_bounds_1_-0.25', | 169 'fontmgr_bounds_1_-0.25', |
171 'fontmgr_bounds', | 170 'fontmgr_bounds', |
172 'fontmgr_match', | 171 'fontmgr_match', |
173 'fontmgr_iter', | 172 'fontmgr_iter', |
174 'verylargebitmap', # Windows only. | 173 'verylargebitmap', # Windows only. |
175 'verylarge_picture_image']: # Windows only. | 174 'verylarge_picture_image']: # Windows only. |
176 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 175 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
177 # skia:4769 | 176 # skia:4769 |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 292 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
294 self_test() | 293 self_test() |
295 sys.exit(0) | 294 sys.exit(0) |
296 | 295 |
297 if len(sys.argv) != 3: | 296 if len(sys.argv) != 3: |
298 print usage | 297 print usage |
299 sys.exit(1) | 298 sys.exit(1) |
300 | 299 |
301 with open(sys.argv[1], 'w') as out: | 300 with open(sys.argv[1], 'w') as out: |
302 json.dump(get_args(sys.argv[2]), out) | 301 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |