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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 if 'GPU' in bot: | 206 if 'GPU' in bot: |
207 blacklist.extend('_ image _ interlaced1.png'.split(' ')) | 207 blacklist.extend('_ image _ interlaced1.png'.split(' ')) |
208 blacklist.extend('_ image _ interlaced2.png'.split(' ')) | 208 blacklist.extend('_ image _ interlaced2.png'.split(' ')) |
209 blacklist.extend('_ image _ interlaced3.png'.split(' ')) | 209 blacklist.extend('_ image _ interlaced3.png'.split(' ')) |
210 for raw_ext in r: | 210 for raw_ext in r: |
211 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) | 211 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) |
212 | 212 |
213 # Large image that overwhelms older Mac bots | 213 # Large image that overwhelms older Mac bots |
214 if 'MacMini4.1-GPU' in bot: | 214 if 'MacMini4.1-GPU' in bot: |
215 blacklist.extend('_ image _ abnormal.wbmp'.split(' ')) | 215 blacklist.extend('_ image _ abnormal.wbmp'.split(' ')) |
| 216 blacklist.extend(['msaa16', 'gm', '_', 'blurcircles']) |
216 | 217 |
217 match = [] | 218 match = [] |
218 if 'Valgrind' in bot: # skia:3021 | 219 if 'Valgrind' in bot: # skia:3021 |
219 match.append('~Threaded') | 220 match.append('~Threaded') |
220 | 221 |
221 if 'GalaxyS3' in bot: # skia:1699 | 222 if 'GalaxyS3' in bot: # skia:1699 |
222 match.append('~WritePixels') | 223 match.append('~WritePixels') |
223 | 224 |
224 if 'AndroidOne' in bot: # skia:4711 | 225 if 'AndroidOne' in bot: # skia:4711 |
225 match.append('~WritePixels') | 226 match.append('~WritePixels') |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 308 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
308 self_test() | 309 self_test() |
309 sys.exit(0) | 310 sys.exit(0) |
310 | 311 |
311 if len(sys.argv) != 3: | 312 if len(sys.argv) != 3: |
312 print usage | 313 print usage |
313 sys.exit(1) | 314 sys.exit(1) |
314 | 315 |
315 with open(sys.argv[1], 'w') as out: | 316 with open(sys.argv[1], 'w') as out: |
316 json.dump(get_args(sys.argv[2]), out) | 317 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |