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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 # is fairly slow and not platform-specific. So we just disable it on all of | 167 # is fairly slow and not platform-specific. So we just disable it on all of |
168 # Android and iOS. skia:5438 | 168 # Android and iOS. skia:5438 |
169 blacklist.extend('_ test _ GrShape'.split(' ')) | 169 blacklist.extend('_ test _ GrShape'.split(' ')) |
170 | 170 |
171 if 'Win8' in bot: | 171 if 'Win8' in bot: |
172 # bungeman: "Doesn't work on Windows anyway, produces unstable GMs with | 172 # bungeman: "Doesn't work on Windows anyway, produces unstable GMs with |
173 # 'Unexpected error' from DirectWrite" | 173 # 'Unexpected error' from DirectWrite" |
174 blacklist.extend('_ gm _ fontscalerdistortable'.split(' ')) | 174 blacklist.extend('_ gm _ fontscalerdistortable'.split(' ')) |
175 | 175 |
176 # skia:4095 | 176 # skia:4095 |
177 for test in ['bleed_image', | 177 bad_serialize_gms = ['bleed_image', |
178 'c_gms', | 178 'c_gms', |
179 'colortype', | 179 'colortype', |
180 'colortype_xfermodes', | 180 'colortype_xfermodes', |
181 'drawfilter', | 181 'drawfilter', |
182 'fontmgr_bounds_0.75_0', | 182 'fontmgr_bounds_0.75_0', |
183 'fontmgr_bounds_1_-0.25', | 183 'fontmgr_bounds_1_-0.25', |
184 'fontmgr_bounds', | 184 'fontmgr_bounds', |
185 'fontmgr_match', | 185 'fontmgr_match', |
186 'fontmgr_iter']: | 186 'fontmgr_iter'] |
| 187 # skia:5589 |
| 188 bad_serialize_gms.extend(['bitmapfilters', |
| 189 'bitmapshaders', |
| 190 'bleed', |
| 191 'bleed_alpha_bmp', |
| 192 'bleed_alpha_bmp_shader', |
| 193 'extractalpha', |
| 194 'filterbitmap_checkerboard_32_32_g8', |
| 195 'filterbitmap_image_mandrill_64', |
| 196 'shadows', |
| 197 'simpleaaclip_aaclip']) |
| 198 for test in bad_serialize_gms: |
187 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 199 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
| 200 |
188 if 'Mac' not in bot: | 201 if 'Mac' not in bot: |
189 for test in ['bleed_alpha_image', 'bleed_alpha_image_shader']: | 202 for test in ['bleed_alpha_image', 'bleed_alpha_image_shader']: |
190 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 203 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
191 # It looks like we skip these only for out-of-memory concerns. | 204 # It looks like we skip these only for out-of-memory concerns. |
192 if 'Win' in bot or 'Android' in bot: | 205 if 'Win' in bot or 'Android' in bot: |
193 for test in ['verylargebitmap', 'verylarge_picture_image']: | 206 for test in ['verylargebitmap', 'verylarge_picture_image']: |
194 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 207 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
195 | 208 |
196 # skia:4769 | 209 # skia:4769 |
197 for test in ['drawfilter']: | 210 for test in ['drawfilter']: |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 341 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
329 self_test() | 342 self_test() |
330 sys.exit(0) | 343 sys.exit(0) |
331 | 344 |
332 if len(sys.argv) != 3: | 345 if len(sys.argv) != 3: |
333 print usage | 346 print usage |
334 sys.exit(1) | 347 sys.exit(1) |
335 | 348 |
336 with open(sys.argv[1], 'w') as out: | 349 with open(sys.argv[1], 'w') as out: |
337 json.dump(get_args(sys.argv[2]), out) | 350 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |