Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Side by Side Diff: tools/dm_flags.py

Issue 2141923006: Try blacklisting RAW images on Nexus 9 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Update json too Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/dm_flags.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 # skbug.com/4888 214 # skbug.com/4888
215 # Blacklist RAW images (and a few large PNGs) on GPU bots 215 # Blacklist RAW images (and a few large PNGs) on GPU bots
216 # until we can resolve failures 216 # until we can resolve failures
217 if 'GPU' in bot: 217 if 'GPU' in bot:
218 blacklist.extend('_ image _ interlaced1.png'.split(' ')) 218 blacklist.extend('_ image _ interlaced1.png'.split(' '))
219 blacklist.extend('_ image _ interlaced2.png'.split(' ')) 219 blacklist.extend('_ image _ interlaced2.png'.split(' '))
220 blacklist.extend('_ image _ interlaced3.png'.split(' ')) 220 blacklist.extend('_ image _ interlaced3.png'.split(' '))
221 for raw_ext in r: 221 for raw_ext in r:
222 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) 222 blacklist.extend(('_ image _ .%s' % raw_ext).split(' '))
223 223
224 if 'Nexus9' in bot:
225 for raw_ext in r:
226 blacklist.extend(('_ image _ .%s' % raw_ext).split(' '))
227
224 # Large image that overwhelms older Mac bots 228 # Large image that overwhelms older Mac bots
225 if 'MacMini4.1-GPU' in bot: 229 if 'MacMini4.1-GPU' in bot:
226 blacklist.extend('_ image _ abnormal.wbmp'.split(' ')) 230 blacklist.extend('_ image _ abnormal.wbmp'.split(' '))
227 blacklist.extend(['msaa16', 'gm', '_', 'blurcircles']) 231 blacklist.extend(['msaa16', 'gm', '_', 'blurcircles'])
228 232
229 match = [] 233 match = []
230 if 'Valgrind' in bot: # skia:3021 234 if 'Valgrind' in bot: # skia:3021
231 match.append('~Threaded') 235 match.append('~Threaded')
232 236
233 if 'GalaxyS3' in bot: # skia:1699 237 if 'GalaxyS3' in bot: # skia:1699
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 if len(sys.argv) == 2 and sys.argv[1] == 'test': 324 if len(sys.argv) == 2 and sys.argv[1] == 'test':
321 self_test() 325 self_test()
322 sys.exit(0) 326 sys.exit(0)
323 327
324 if len(sys.argv) != 3: 328 if len(sys.argv) != 3:
325 print usage 329 print usage
326 sys.exit(1) 330 sys.exit(1)
327 331
328 with open(sys.argv[1], 'w') as out: 332 with open(sys.argv[1], 'w') as out:
329 json.dump(get_args(sys.argv[2]), out) 333 json.dump(get_args(sys.argv[2]), out)
OLDNEW
« no previous file with comments | « tools/dm_flags.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698