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

Side by Side Diff: tools/dm_flags.py

Issue 1757493002: Fix exception handling in SkRawCodec (Closed) Base URL: https://skia.googlesource.com/skia.git@m50
Patch Set: Disable RAW on windows 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 # Extensions for RAW images 158 # Extensions for RAW images
159 r = ["arw", "cr2", "dng", "nef", "nrw", "orf", "raf", "rw2", "pef", "srw", 159 r = ["arw", "cr2", "dng", "nef", "nrw", "orf", "raf", "rw2", "pef", "srw",
160 "ARW", "CR2", "DNG", "NEF", "NRW", "ORF", "RAF", "RW2", "PEF", "SRW"] 160 "ARW", "CR2", "DNG", "NEF", "NRW", "ORF", "RAF", "RW2", "PEF", "SRW"]
161 161
162 # skbug.com/4888 162 # skbug.com/4888
163 # Blacklist RAW images on GPU tests until we can resolve failures 163 # Blacklist RAW images on GPU tests until we can resolve failures
164 if 'GPU' in bot: 164 if 'GPU' in bot:
165 for raw_ext in r: 165 for raw_ext in r:
166 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) 166 blacklist.extend(('_ image _ .%s' % raw_ext).split(' '))
167 167
168 # Blacklist RAW images on Win32 tests due to out-of-memory issue
169 if 'Win' in bot and not '64' in bot:
170 for raw_ext in r:
171 blacklist.extend(('_ image _ .%s' % raw_ext).split(' '))
172
168 match = [] 173 match = []
169 if 'Valgrind' in bot: # skia:3021 174 if 'Valgrind' in bot: # skia:3021
170 match.append('~Threaded') 175 match.append('~Threaded')
171 176
172 if 'GalaxyS3' in bot: # skia:1699 177 if 'GalaxyS3' in bot: # skia:1699
173 match.append('~WritePixels') 178 match.append('~WritePixels')
174 179
175 if 'AndroidOne' in bot: # skia:4711 180 if 'AndroidOne' in bot: # skia:4711
176 match.append('~WritePixels') 181 match.append('~WritePixels')
177 182
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 if len(sys.argv) == 2 and sys.argv[1] == 'test': 254 if len(sys.argv) == 2 and sys.argv[1] == 'test':
250 self_test() 255 self_test()
251 sys.exit(0) 256 sys.exit(0)
252 257
253 if len(sys.argv) != 3: 258 if len(sys.argv) != 3:
254 print usage 259 print usage
255 sys.exit(1) 260 sys.exit(1)
256 261
257 with open(sys.argv[1], 'w') as out: 262 with open(sys.argv[1], 'w') as out:
258 json.dump(get_args(sys.argv[2]), out) 263 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