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

Side by Side Diff: tools/dm_flags.py

Issue 1822033002: Blacklist RAW images on x86 Ubuntu (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | « no previous file | 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 # Extensions for RAW images 186 # Extensions for RAW images
187 r = ["arw", "cr2", "dng", "nef", "nrw", "orf", "raf", "rw2", "pef", "srw", 187 r = ["arw", "cr2", "dng", "nef", "nrw", "orf", "raf", "rw2", "pef", "srw",
188 "ARW", "CR2", "DNG", "NEF", "NRW", "ORF", "RAF", "RW2", "PEF", "SRW"] 188 "ARW", "CR2", "DNG", "NEF", "NRW", "ORF", "RAF", "RW2", "PEF", "SRW"]
189 189
190 # skbug.com/4888 190 # skbug.com/4888
191 # Blacklist RAW images on GPU tests until we can resolve failures 191 # Blacklist RAW images on GPU tests until we can resolve failures
192 if 'GPU' in bot: 192 if 'GPU' in bot:
193 for raw_ext in r: 193 for raw_ext in r:
194 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) 194 blacklist.extend(('_ image _ .%s' % raw_ext).split(' '))
195 195
196 # Blacklist RAW images on Win32 tests due to out-of-memory issue 196 # Blacklist RAW images on some 32-bit machines due to out-of-memory issues
197 if 'Win' in bot and not '64' in bot: 197 if (('Win' in bot or 'Ubuntu' in bot) and not '64' in bot):
msarett 2016/03/22 15:08:11 I chose not to check for "x86 and not 64" because
198 for raw_ext in r: 198 for raw_ext in r:
199 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) 199 blacklist.extend(('_ image _ .%s' % raw_ext).split(' '))
200 200
201 match = [] 201 match = []
202 if 'Valgrind' in bot: # skia:3021 202 if 'Valgrind' in bot: # skia:3021
203 match.append('~Threaded') 203 match.append('~Threaded')
204 204
205 if 'GalaxyS3' in bot: # skia:1699 205 if 'GalaxyS3' in bot: # skia:1699
206 match.append('~WritePixels') 206 match.append('~WritePixels')
207 207
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 if len(sys.argv) == 2 and sys.argv[1] == 'test': 282 if len(sys.argv) == 2 and sys.argv[1] == 'test':
283 self_test() 283 self_test()
284 sys.exit(0) 284 sys.exit(0)
285 285
286 if len(sys.argv) != 3: 286 if len(sys.argv) != 3:
287 print usage 287 print usage
288 sys.exit(1) 288 sys.exit(1)
289 289
290 with open(sys.argv[1], 'w') as out: 290 with open(sys.argv[1], 'w') as out:
291 json.dump(get_args(sys.argv[2]), out) 291 json.dump(get_args(sys.argv[2]), out)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698