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

Side by Side Diff: tools/dm_flags.py

Issue 1405223006: Don't run nvpr on TSAN bot (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tabs to spaces Created 5 years, 1 month 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 21 matching lines...) Expand all
32 configs = ['565', '8888', 'gpu'] 32 configs = ['565', '8888', 'gpu']
33 33
34 if 'Android' not in bot: 34 if 'Android' not in bot:
35 configs.extend(('upright-matrix-8888', 'upright-matrix-gpu')) 35 configs.extend(('upright-matrix-8888', 'upright-matrix-gpu'))
36 args.extend('--matrix 0 1 1 0'.split(' ')) 36 args.extend('--matrix 0 1 1 0'.split(' '))
37 37
38 if '-GCE-' in bot: 38 if '-GCE-' in bot:
39 configs.append('sp-8888') 39 configs.append('sp-8888')
40 configs.extend(['remote-8888', 'remote_cache-8888']) 40 configs.extend(['remote-8888', 'remote_cache-8888'])
41 41
42 if 'TegraK1' in bot or 'GTX550Ti' in bot or 'GTX660' in bot or 'GT610' in bot: 42 if '-TSAN' not in bot:
43 if 'Android' in bot: 43 if ('TegraK1' in bot or
44 configs.append('nvprmsaa4') 44 'GTX550Ti' in bot or
45 else: 45 'GTX660' in bot or
46 configs.append('nvprmsaa16') 46 'GT610' in bot):
47 if 'Android' in bot:
48 configs.append('nvprmsaa4')
49 else:
50 configs.append('nvprmsaa16')
47 51
48 # The S4 crashes and the NP produces a long error stream when we run with 52 # The S4 crashes and the NP produces a long error stream when we run with
49 # MSAA. The Tegra2 and Tegra3 just don't support it. 53 # MSAA. The Tegra2 and Tegra3 just don't support it.
50 if ('GalaxyS4' not in bot and 54 if ('GalaxyS4' not in bot and
51 'NexusPlayer' not in bot and 55 'NexusPlayer' not in bot and
52 'Tegra3' not in bot and 56 'Tegra3' not in bot and
53 'iOS' not in bot): 57 'iOS' not in bot):
54 if 'Android' in bot: 58 if 'Android' in bot:
55 configs.append('msaa4') 59 configs.append('msaa4')
56 else: 60 else:
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 if len(sys.argv) == 2 and sys.argv[1] == 'test': 248 if len(sys.argv) == 2 and sys.argv[1] == 'test':
245 self_test() 249 self_test()
246 sys.exit(0) 250 sys.exit(0)
247 251
248 if len(sys.argv) != 3: 252 if len(sys.argv) != 3:
249 print usage 253 print usage
250 sys.exit(1) 254 sys.exit(1)
251 255
252 with open(sys.argv[1], 'w') as out: 256 with open(sys.argv[1], 'w') as out:
253 json.dump(get_args(sys.argv[2]), out) 257 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