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

Side by Side Diff: tools/dm_flags.py

Issue 1827063004: Blacklist giant (4k) wbmp from GPU bots. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Only blacklist on the failing Mac bots. Created 4 years, 9 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 # skbug.com/4888 189 # skbug.com/4888
190 # Blacklist RAW images (and a few large PNGs) on GPU bots 190 # Blacklist RAW images (and a few large PNGs) on GPU bots
191 # until we can resolve failures 191 # until we can resolve failures
192 if 'GPU' in bot: 192 if 'GPU' in bot:
193 blacklist.extend('_ image _ interlaced1.png'.split(' ')) 193 blacklist.extend('_ image _ interlaced1.png'.split(' '))
194 blacklist.extend('_ image _ interlaced2.png'.split(' ')) 194 blacklist.extend('_ image _ interlaced2.png'.split(' '))
195 blacklist.extend('_ image _ interlaced3.png'.split(' ')) 195 blacklist.extend('_ image _ interlaced3.png'.split(' '))
196 for raw_ext in r: 196 for raw_ext in r:
197 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) 197 blacklist.extend(('_ image _ .%s' % raw_ext).split(' '))
198 198
199 # Large image that overwhelms older Mac bots
200 if 'MacMini4.1-GPU' in bot:
201 blacklist.extend('_ image _ abnormal.wbmp'.split(' '))
202
199 match = [] 203 match = []
200 if 'Valgrind' in bot: # skia:3021 204 if 'Valgrind' in bot: # skia:3021
201 match.append('~Threaded') 205 match.append('~Threaded')
202 206
203 if 'GalaxyS3' in bot: # skia:1699 207 if 'GalaxyS3' in bot: # skia:1699
204 match.append('~WritePixels') 208 match.append('~WritePixels')
205 209
206 if 'AndroidOne' in bot: # skia:4711 210 if 'AndroidOne' in bot: # skia:4711
207 match.append('~WritePixels') 211 match.append('~WritePixels')
208 212
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 'Test-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Debug', 253 'Test-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Debug',
250 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Release', 254 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Release',
251 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release', 255 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release',
252 'Test-Android-GCC-NexusPlayer-CPU-SSSE3-x86-Release', 256 'Test-Android-GCC-NexusPlayer-CPU-SSSE3-x86-Release',
253 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', 257 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind',
254 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN', 258 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN',
255 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN', 259 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN',
256 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Valgrind', 260 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Valgrind',
257 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE', 261 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE',
258 'Test-Mac10.8-Clang-MacMini4.1-CPU-SSE4-x86_64-Release', 262 'Test-Mac10.8-Clang-MacMini4.1-CPU-SSE4-x86_64-Release',
263 'Test-Mac-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release',
259 ] 264 ]
260 265
261 cov = coverage.coverage() 266 cov = coverage.coverage()
262 cov.start() 267 cov.start()
263 for case in cases: 268 for case in cases:
264 args[case] = get_args(case) 269 args[case] = get_args(case)
265 cov.stop() 270 cov.stop()
266 271
267 this_file = os.path.basename(__file__) 272 this_file = os.path.basename(__file__)
268 _, _, not_run, _ = cov.analysis(this_file) 273 _, _, not_run, _ = cov.analysis(this_file)
(...skipping 11 matching lines...) Expand all
280 if len(sys.argv) == 2 and sys.argv[1] == 'test': 285 if len(sys.argv) == 2 and sys.argv[1] == 'test':
281 self_test() 286 self_test()
282 sys.exit(0) 287 sys.exit(0)
283 288
284 if len(sys.argv) != 3: 289 if len(sys.argv) != 3:
285 print usage 290 print usage
286 sys.exit(1) 291 sys.exit(1)
287 292
288 with open(sys.argv[1], 'w') as out: 293 with open(sys.argv[1], 'w') as out:
289 json.dump(get_args(sys.argv[2]), out) 294 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