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

Side by Side Diff: tools/dm_flags.py

Issue 1846603002: Enable gpusrgb config on bots. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: re-generate json Created 4 years, 8 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
« tools/dm_flags.json ('K') | « 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 16 matching lines...) Expand all
27 27
28 cov_start = lineno()+1 # We care about coverage starting just past this def. 28 cov_start = lineno()+1 # We care about coverage starting just past this def.
29 def get_args(bot): 29 def get_args(bot):
30 args = [] 30 args = []
31 31
32 # 32-bit desktop bots tend to run out of memory, because they have relatively 32 # 32-bit desktop bots tend to run out of memory, because they have relatively
33 # far more cores than RAM (e.g. 32 cores, 3G RAM). Hold them back a bit. 33 # far more cores than RAM (e.g. 32 cores, 3G RAM). Hold them back a bit.
34 if '-x86-' in bot and not 'NexusPlayer' in bot: 34 if '-x86-' in bot and not 'NexusPlayer' in bot:
35 args.extend('--threads 4'.split(' ')) 35 args.extend('--threads 4'.split(' '))
36 36
37 configs = ['565', '8888', 'gpu'] 37 configs = ['565', '8888', 'gpu', 'gpusrgb']
38 38
39 if '-GCE-' in bot: 39 if '-GCE-' in bot:
40 configs.extend(['f16', 'srgb']) # Gamma-correct formats. 40 configs.extend(['f16', 'srgb']) # Gamma-correct formats.
41 configs.extend(['sp-8888', '2ndpic-8888']) # Test niche uses of SkPicture. 41 configs.extend(['sp-8888', '2ndpic-8888']) # Test niche uses of SkPicture.
42 42
43 if '-TSAN' not in bot: 43 if '-TSAN' not in bot:
44 if ('TegraK1' in bot or 44 if ('TegraK1' in bot or
45 'GTX550Ti' in bot or 45 'GTX550Ti' in bot or
46 'GTX660' in bot or 46 'GTX660' in bot or
47 'GT610' in bot): 47 'GT610' in bot):
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 if 'GalaxyS' in bot: 87 if 'GalaxyS' in bot:
88 args.extend(('--threads', '0')) 88 args.extend(('--threads', '0'))
89 89
90 blacklist = [] 90 blacklist = []
91 91
92 # TODO: ??? 92 # TODO: ???
93 blacklist.extend('f16 _ _ dstreadshuffle'.split(' ')) 93 blacklist.extend('f16 _ _ dstreadshuffle'.split(' '))
94 blacklist.extend('f16 image _ _'.split(' ')) 94 blacklist.extend('f16 image _ _'.split(' '))
95 blacklist.extend('srgb image _ _'.split(' ')) 95 blacklist.extend('srgb image _ _'.split(' '))
96 blacklist.extend('gpusrgb image _ _'.split(' '))
96 97
97 # Certain gm's on win7 gpu and pdf are never finishing and keeping the test 98 # Certain gm's on win7 gpu and pdf are never finishing and keeping the test
98 # running forever 99 # running forever
99 if 'Win7' in bot: 100 if 'Win7' in bot:
100 blacklist.extend('msaa16 gm _ colorwheelnative'.split(' ')) 101 blacklist.extend('msaa16 gm _ colorwheelnative'.split(' '))
101 blacklist.extend('pdf gm _ fontmgr_iter_factory'.split(' ')) 102 blacklist.extend('pdf gm _ fontmgr_iter_factory'.split(' '))
102 103
103 if 'Valgrind' in bot: 104 if 'Valgrind' in bot:
104 # These take 18+ hours to run. 105 # These take 18+ hours to run.
105 blacklist.extend('pdf gm _ fontmgr_iter'.split(' ')) 106 blacklist.extend('pdf gm _ fontmgr_iter'.split(' '))
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 if len(sys.argv) == 2 and sys.argv[1] == 'test': 286 if len(sys.argv) == 2 and sys.argv[1] == 'test':
286 self_test() 287 self_test()
287 sys.exit(0) 288 sys.exit(0)
288 289
289 if len(sys.argv) != 3: 290 if len(sys.argv) != 3:
290 print usage 291 print usage
291 sys.exit(1) 292 sys.exit(1)
292 293
293 with open(sys.argv[1], 'w') as out: 294 with open(sys.argv[1], 'w') as out:
294 json.dump(get_args(sys.argv[2]), out) 295 json.dump(get_args(sys.argv[2]), out)
OLDNEW
« tools/dm_flags.json ('K') | « tools/dm_flags.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698