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: | |
118 blacklist.extend('_ image gen_platform_opaque rgba32abf.bmp'.split(' ')) | |
scroggo
2016/03/09 19:44:01
Doesn't the blacklist check for partial matches? e
msarett
2016/03/09 20:55:44
Done.
| |
119 blacklist.extend('_ image gen_platform_premul rgba32abf.bmp'.split(' ')) | |
120 blacklist.extend('_ image gen_platform_opaque rgb24prof.bmp'.split(' ')) | |
121 blacklist.extend('_ image gen_platform_premul rgb24prof.bmp'.split(' ')) | |
122 blacklist.extend('_ image gen_platform_opaque rgb24lprof.bmp'.split(' ')) | |
123 blacklist.extend('_ image gen_platform_premul rgb24lprof.bmp'.split(' ')) | |
124 blacklist.extend('_ image gen_platform_opaque 8bpp-pixeldata-cropped.bmp'.sp lit(' ')) | |
125 blacklist.extend('_ image gen_platform_premul 8bpp-pixeldata-cropped.bmp'.sp lit(' ')) | |
126 blacklist.extend('_ image gen_platform_opaque 4bpp-pixeldata-cropped.bmp'.sp lit(' ')) | |
127 blacklist.extend('_ image gen_platform_premul 4bpp-pixeldata-cropped.bmp'.sp lit(' ')) | |
128 blacklist.extend('_ image gen_platform_opaque 32bpp-pixeldata-cropped.bmp'.s plit(' ')) | |
129 blacklist.extend('_ image gen_platform_premul 32bpp-pixeldata-cropped.bmp'.s plit(' ')) | |
130 blacklist.extend('_ image gen_platform_opaque 24bpp-pixeldata-cropped.bmp'.s plit(' ')) | |
131 blacklist.extend('_ image gen_platform_premul 24bpp-pixeldata-cropped.bmp'.s plit(' ')) | |
132 | |
116 # skia:4095 | 133 # skia:4095 |
117 for test in ['not_native32_bitmap_config', | 134 for test in ['not_native32_bitmap_config', |
118 'bleed_image', | 135 'bleed_image', |
119 'bleed_alpha_image', | 136 'bleed_alpha_image', |
120 'bleed_alpha_image_shader', | 137 'bleed_alpha_image_shader', |
121 'blend', | 138 'blend', |
122 'c_gms', | 139 'c_gms', |
123 'colortype', | 140 'colortype', |
124 'colortype_xfermodes', | 141 'colortype_xfermodes', |
125 'colorwheelnative', | 142 'colorwheelnative', |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
254 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 271 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
255 self_test() | 272 self_test() |
256 sys.exit(0) | 273 sys.exit(0) |
257 | 274 |
258 if len(sys.argv) != 3: | 275 if len(sys.argv) != 3: |
259 print usage | 276 print usage |
260 sys.exit(1) | 277 sys.exit(1) |
261 | 278 |
262 with open(sys.argv[1], 'w') as out: | 279 with open(sys.argv[1], 'w') as out: |
263 json.dump(get_args(sys.argv[2]), out) | 280 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |