| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 if 'iOS' in bot: | 106 if 'iOS' in bot: |
| 107 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' ')) | 107 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' ')) |
| 108 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' ')) | 108 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' ')) |
| 109 | 109 |
| 110 # the 32-bit GCE bots run out of memory in DM when running these large images | 110 # the 32-bit GCE bots run out of memory in DM when running these large images |
| 111 if 'x86' in bot and not 'x86-64' in bot: | 111 if 'x86' in bot and not 'x86-64' in bot: |
| 112 blacklist.extend('_ image _ interlaced1.png'.split(' ')) | 112 blacklist.extend('_ image _ interlaced1.png'.split(' ')) |
| 113 blacklist.extend('_ image _ interlaced2.png'.split(' ')) | 113 blacklist.extend('_ image _ interlaced2.png'.split(' ')) |
| 114 blacklist.extend('_ image _ interlaced3.png'.split(' ')) | 114 blacklist.extend('_ image _ interlaced3.png'.split(' ')) |
| 115 | 115 |
| 116 # CG fails on questionable bmps | |
| 117 if 'Mac' in bot or 'iOS' in bot: | 116 if 'Mac' in bot or 'iOS' in bot: |
| 117 # CG fails on questionable bmps |
| 118 blacklist.extend('_ image gen_platf rgba32abf.bmp'.split(' ')) | 118 blacklist.extend('_ image gen_platf rgba32abf.bmp'.split(' ')) |
| 119 blacklist.extend('_ image gen_platf rgb24prof.bmp'.split(' ')) | 119 blacklist.extend('_ image gen_platf rgb24prof.bmp'.split(' ')) |
| 120 blacklist.extend('_ image gen_platf rgb24lprof.bmp'.split(' ')) | 120 blacklist.extend('_ image gen_platf rgb24lprof.bmp'.split(' ')) |
| 121 blacklist.extend('_ image gen_platf 8bpp-pixeldata-cropped.bmp'.split(' ')) | 121 blacklist.extend('_ image gen_platf 8bpp-pixeldata-cropped.bmp'.split(' ')) |
| 122 blacklist.extend('_ image gen_platf 4bpp-pixeldata-cropped.bmp'.split(' ')) | 122 blacklist.extend('_ image gen_platf 4bpp-pixeldata-cropped.bmp'.split(' ')) |
| 123 blacklist.extend('_ image gen_platf 32bpp-pixeldata-cropped.bmp'.split(' ')) | 123 blacklist.extend('_ image gen_platf 32bpp-pixeldata-cropped.bmp'.split(' ')) |
| 124 blacklist.extend('_ image gen_platf 24bpp-pixeldata-cropped.bmp'.split(' ')) | 124 blacklist.extend('_ image gen_platf 24bpp-pixeldata-cropped.bmp'.split(' ')) |
| 125 |
| 126 # CG has unpredictable behavior on this questionable gif |
| 127 # It's probably using uninitialized memory |
| 128 blacklist.extend('_ image gen_platf frame_larger_than_image.gif'.split(' ')) |
| 125 | 129 |
| 126 # skia:4095 | 130 # skia:4095 |
| 127 for test in ['not_native32_bitmap_config', | 131 for test in ['not_native32_bitmap_config', |
| 128 'bleed_image', | 132 'bleed_image', |
| 129 'bleed_alpha_image', | 133 'bleed_alpha_image', |
| 130 'bleed_alpha_image_shader', | 134 'bleed_alpha_image_shader', |
| 131 'blend', | 135 'blend', |
| 132 'c_gms', | 136 'c_gms', |
| 133 'colortype', | 137 'colortype', |
| 134 'colortype_xfermodes', | 138 'colortype_xfermodes', |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 268 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 265 self_test() | 269 self_test() |
| 266 sys.exit(0) | 270 sys.exit(0) |
| 267 | 271 |
| 268 if len(sys.argv) != 3: | 272 if len(sys.argv) != 3: |
| 269 print usage | 273 print usage |
| 270 sys.exit(1) | 274 sys.exit(1) |
| 271 | 275 |
| 272 with open(sys.argv[1], 'w') as out: | 276 with open(sys.argv[1], 'w') as out: |
| 273 json.dump(get_args(sys.argv[2]), out) | 277 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |