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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' ')) | 161 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' ')) |
162 blacklist.extend('gpu image decode _ msaa image decode _'.split(' ')) | 162 blacklist.extend('gpu image decode _ msaa image decode _'.split(' ')) |
163 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' ')) | 163 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' ')) |
164 | 164 |
165 # the 32-bit GCE bots run out of memory in DM when running these large images | 165 # the 32-bit GCE bots run out of memory in DM when running these large images |
166 if 'x86' in bot and not 'x86-64' in bot: | 166 if 'x86' in bot and not 'x86-64' in bot: |
167 blacklist.extend('_ image _ interlaced1.png'.split(' ')) | 167 blacklist.extend('_ image _ interlaced1.png'.split(' ')) |
168 blacklist.extend('_ image _ interlaced2.png'.split(' ')) | 168 blacklist.extend('_ image _ interlaced2.png'.split(' ')) |
169 blacklist.extend('_ image _ interlaced3.png'.split(' ')) | 169 blacklist.extend('_ image _ interlaced3.png'.split(' ')) |
170 | 170 |
| 171 # skia:4095 |
| 172 for test in ['not_native32_bitmap_config', |
| 173 'bleed_image', |
| 174 'bleed_alpha_image', |
| 175 'bleed_alpha_image_shader', |
| 176 'blend', |
| 177 'c_gms', |
| 178 'colortype', |
| 179 'colortype_xfermodes', |
| 180 'colorwheelnative', |
| 181 'drawfilter', |
| 182 'fontmgr_bounds_0.75_0', |
| 183 'fontmgr_bounds_1_-0.25', |
| 184 'fontmgr_bounds', |
| 185 'fontmgr_match', |
| 186 'fontmgr_iter', |
| 187 'lightingshader', |
| 188 'localmatriximagefilter', |
| 189 'path_stroke_with_zero_length', |
| 190 'textblobgeometrychange', |
| 191 'verylargebitmap', # Windows only. |
| 192 'verylarge_picture_image']: # Windows only. |
| 193 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
| 194 |
171 if blacklist: | 195 if blacklist: |
172 args.append('--blacklist') | 196 args.append('--blacklist') |
173 args.extend(blacklist) | 197 args.extend(blacklist) |
174 | 198 |
175 match = [] | 199 match = [] |
176 if 'Valgrind' in bot: # skia:3021 | 200 if 'Valgrind' in bot: # skia:3021 |
177 match.append('~Threaded') | 201 match.append('~Threaded') |
178 | 202 |
179 if 'GalaxyS3' in bot: # skia:1699 | 203 if 'GalaxyS3' in bot: # skia:1699 |
180 match.append('~WritePixels') | 204 match.append('~WritePixels') |
181 | 205 |
182 if 'AndroidOne' in bot: # skia:4711 | 206 if 'AndroidOne' in bot: # skia:4711 |
183 match.append('~WritePixels') | 207 match.append('~WritePixels') |
184 | 208 |
185 if 'NexusPlayer' in bot: | 209 if 'NexusPlayer' in bot: |
186 match.append('~ResourceCache') | 210 match.append('~ResourceCache') |
187 | 211 |
188 if 'GalaxyS4' in bot: # skia:4079 | 212 if 'GalaxyS4' in bot: # skia:4079 |
189 match.append('~imagefiltersclipped') | 213 match.append('~imagefiltersclipped') |
190 match.append('~imagefilterscropexpand') | 214 match.append('~imagefilterscropexpand') |
191 match.append('~scaled_tilemodes_npot') | 215 match.append('~scaled_tilemodes_npot') |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 267 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
244 self_test() | 268 self_test() |
245 sys.exit(0) | 269 sys.exit(0) |
246 | 270 |
247 if len(sys.argv) != 3: | 271 if len(sys.argv) != 3: |
248 print usage | 272 print usage |
249 sys.exit(1) | 273 sys.exit(1) |
250 | 274 |
251 with open(sys.argv[1], 'w') as out: | 275 with open(sys.argv[1], 'w') as out: |
252 json.dump(get_args(sys.argv[2]), out) | 276 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |