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

Side by Side Diff: tools/dm_flags.py

Issue 1960153005: Run RAW images serially on Win8-MSVC-ShuttleB (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 if blacklist: 240 if blacklist:
241 args.append('--blacklist') 241 args.append('--blacklist')
242 args.extend(blacklist) 242 args.extend(blacklist)
243 243
244 if match: 244 if match:
245 args.append('--match') 245 args.append('--match')
246 args.extend(match) 246 args.extend(match)
247 247
248 # These bots run out of memory running RAW codec tests. Do not run them in 248 # These bots run out of memory running RAW codec tests. Do not run them in
249 # parallel 249 # parallel
250 if 'NexusPlayer' in bot or 'Nexus5' in bot or 'Nexus9' in bot: 250 if ('NexusPlayer' in bot or 'Nexus5' in bot or 'Nexus9' in bot
251 or 'Win8-MSVC-ShuttleB' in bot):
251 args.append('--noRAW_threading') 252 args.append('--noRAW_threading')
252 253
253 return args 254 return args
254 cov_end = lineno() # Don't care about code coverage past here. 255 cov_end = lineno() # Don't care about code coverage past here.
255 256
256 257
257 def self_test(): 258 def self_test():
258 import coverage # This way the bots don't need coverage.py to be installed. 259 import coverage # This way the bots don't need coverage.py to be installed.
259 args = {} 260 args = {}
260 cases = [ 261 cases = [
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 if len(sys.argv) == 2 and sys.argv[1] == 'test': 300 if len(sys.argv) == 2 and sys.argv[1] == 'test':
300 self_test() 301 self_test()
301 sys.exit(0) 302 sys.exit(0)
302 303
303 if len(sys.argv) != 3: 304 if len(sys.argv) != 3:
304 print usage 305 print usage
305 sys.exit(1) 306 sys.exit(1)
306 307
307 with open(sys.argv[1], 'w') as out: 308 with open(sys.argv[1], 'w') as out:
308 json.dump(get_args(sys.argv[2]), out) 309 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