| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 blacklist.extend('_ image gen_platf rgb24prof.bmp'.split(' ')) | 155 blacklist.extend('_ image gen_platf rgb24prof.bmp'.split(' ')) |
| 156 blacklist.extend('_ image gen_platf rgb24lprof.bmp'.split(' ')) | 156 blacklist.extend('_ image gen_platf rgb24lprof.bmp'.split(' ')) |
| 157 blacklist.extend('_ image gen_platf 8bpp-pixeldata-cropped.bmp'.split(' ')) | 157 blacklist.extend('_ image gen_platf 8bpp-pixeldata-cropped.bmp'.split(' ')) |
| 158 blacklist.extend('_ image gen_platf 4bpp-pixeldata-cropped.bmp'.split(' ')) | 158 blacklist.extend('_ image gen_platf 4bpp-pixeldata-cropped.bmp'.split(' ')) |
| 159 blacklist.extend('_ image gen_platf 32bpp-pixeldata-cropped.bmp'.split(' ')) | 159 blacklist.extend('_ image gen_platf 32bpp-pixeldata-cropped.bmp'.split(' ')) |
| 160 blacklist.extend('_ image gen_platf 24bpp-pixeldata-cropped.bmp'.split(' ')) | 160 blacklist.extend('_ image gen_platf 24bpp-pixeldata-cropped.bmp'.split(' ')) |
| 161 if 'x86_64' in bot and 'CPU' in bot: | 161 if 'x86_64' in bot and 'CPU' in bot: |
| 162 # This GM triggers a SkSmallAllocator assert. | 162 # This GM triggers a SkSmallAllocator assert. |
| 163 blacklist.extend('_ gm _ composeshader_bitmap'.split(' ')) | 163 blacklist.extend('_ gm _ composeshader_bitmap'.split(' ')) |
| 164 | 164 |
| 165 if 'Android' in bot or 'iOS' in bot: |
| 166 # This test crashes the N9 (perhaps because of large malloc/frees). It also |
| 167 # is fairly slow and not platform-specific. So we just disable it on all of |
| 168 # Android and iOS. skia:5438 |
| 169 blacklist.extend('_ test _ GrShape'.split(' ')) |
| 170 |
| 165 # skia:4095 | 171 # skia:4095 |
| 166 for test in ['bleed_image', | 172 for test in ['bleed_image', |
| 167 'c_gms', | 173 'c_gms', |
| 168 'colortype', | 174 'colortype', |
| 169 'colortype_xfermodes', | 175 'colortype_xfermodes', |
| 170 'drawfilter', | 176 'drawfilter', |
| 171 'fontmgr_bounds_0.75_0', | 177 'fontmgr_bounds_0.75_0', |
| 172 'fontmgr_bounds_1_-0.25', | 178 'fontmgr_bounds_1_-0.25', |
| 173 'fontmgr_bounds', | 179 'fontmgr_bounds', |
| 174 'fontmgr_match', | 180 'fontmgr_match', |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 314 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 309 self_test() | 315 self_test() |
| 310 sys.exit(0) | 316 sys.exit(0) |
| 311 | 317 |
| 312 if len(sys.argv) != 3: | 318 if len(sys.argv) != 3: |
| 313 print usage | 319 print usage |
| 314 sys.exit(1) | 320 sys.exit(1) |
| 315 | 321 |
| 316 with open(sys.argv[1], 'w') as out: | 322 with open(sys.argv[1], 'w') as out: |
| 317 json.dump(get_args(sys.argv[2]), out) | 323 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |