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

Side by Side Diff: tools/dm_flags.py

Issue 1677133002: Blacklist RAW images on GPU tests (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 blacklist.extend(['sp-8888', 'gm', '_', test]) 152 blacklist.extend(['sp-8888', 'gm', '_', test])
153 # skia:4703 153 # skia:4703
154 for test in ['image-cacherator-from-picture', 154 for test in ['image-cacherator-from-picture',
155 'image-cacherator-from-raster', 155 'image-cacherator-from-raster',
156 'image-cacherator-from-ctable']: 156 'image-cacherator-from-ctable']:
157 blacklist.extend([ 'sp-8888', 'gm', '_', test]) 157 blacklist.extend([ 'sp-8888', 'gm', '_', test])
158 blacklist.extend([ 'pic-8888', 'gm', '_', test]) 158 blacklist.extend([ 'pic-8888', 'gm', '_', test])
159 blacklist.extend([ '2ndpic-8888', 'gm', '_', test]) 159 blacklist.extend([ '2ndpic-8888', 'gm', '_', test])
160 blacklist.extend(['serialize-8888', 'gm', '_', test]) 160 blacklist.extend(['serialize-8888', 'gm', '_', test])
161 161
162 r = ["arw", "cr2", "dng", "nef", "nrw", "orf", "raf", "rw2", "pef", "srw",
163 "ARW", "CR2", "DNG", "NEF", "NRW", "ORF", "RAF", "RW2", "PEF", "SRW"]
164
162 # NexusPlayer runs out of memory running RAW codec tests 165 # NexusPlayer runs out of memory running RAW codec tests
163 if 'NexusPlayer' in bot: 166 if 'NexusPlayer' in bot:
164 r = ["arw", "cr2", "dng", "nef", "nrw", "orf", "raf", "rw2", "pef", "srw",
165 "ARW", "CR2", "DNG", "NEF", "NRW", "ORF", "RAF", "RW2", "PEF", "SRW"]
166 for raw_ext in r: 167 for raw_ext in r:
167 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) 168 blacklist.extend(('_ image _ .%s' % raw_ext).split(' '))
168 169
170 # skbug.com/4888
171 # Blacklist RAW images on GPU tests until we can resolve failures
172 if 'GPU' in bot:
173 for raw_ext in r:
174 blacklist.extend(('_ image _ .%s' % raw_ext).split(' '))
175
169 match = [] 176 match = []
170 if 'Valgrind' in bot: # skia:3021 177 if 'Valgrind' in bot: # skia:3021
171 match.append('~Threaded') 178 match.append('~Threaded')
172 179
173 if 'GalaxyS3' in bot: # skia:1699 180 if 'GalaxyS3' in bot: # skia:1699
174 match.append('~WritePixels') 181 match.append('~WritePixels')
175 182
176 if 'AndroidOne' in bot: # skia:4711 183 if 'AndroidOne' in bot: # skia:4711
177 match.append('~WritePixels') 184 match.append('~WritePixels')
178 185
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 if len(sys.argv) == 2 and sys.argv[1] == 'test': 255 if len(sys.argv) == 2 and sys.argv[1] == 'test':
249 self_test() 256 self_test()
250 sys.exit(0) 257 sys.exit(0)
251 258
252 if len(sys.argv) != 3: 259 if len(sys.argv) != 3:
253 print usage 260 print usage
254 sys.exit(1) 261 sys.exit(1)
255 262
256 with open(sys.argv[1], 'w') as out: 263 with open(sys.argv[1], 'w') as out:
257 json.dump(get_args(sys.argv[2]), out) 264 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