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

Side by Side Diff: tools/dm_flags.py

Issue 1880403002: Fix CommandBuffer bot's DM config (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Expectations 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
« 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 if 'ANGLE' in bot: 84 if 'ANGLE' in bot:
85 configs.append('angle') 85 configs.append('angle')
86 86
87 # We want to run gpudft on atleast the mali 400 87 # We want to run gpudft on atleast the mali 400
88 if 'GalaxyS3' in bot: 88 if 'GalaxyS3' in bot:
89 configs.append('gpudft') 89 configs.append('gpudft')
90 90
91 # CommandBuffer bot *only* runs the command_buffer config. 91 # CommandBuffer bot *only* runs the command_buffer config.
92 if 'CommandBuffer' in bot: 92 if 'CommandBuffer' in bot:
93 configs = ['command_buffer'] 93 configs = ['commandbuffer']
94 94
95 # Vulkan bot *only* runs the vk config. 95 # Vulkan bot *only* runs the vk config.
96 if 'Vulkan' in bot: 96 if 'Vulkan' in bot:
97 configs = ['vk'] 97 configs = ['vk']
98 98
99 args.append('--config') 99 args.append('--config')
100 args.extend(configs) 100 args.extend(configs)
101 101
102 # Run tests, gms, and image decoding tests everywhere. 102 # Run tests, gms, and image decoding tests everywhere.
103 args.extend('--src tests gm image'.split(' ')) 103 args.extend('--src tests gm image'.split(' '))
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 if len(sys.argv) == 2 and sys.argv[1] == 'test': 296 if len(sys.argv) == 2 and sys.argv[1] == 'test':
297 self_test() 297 self_test()
298 sys.exit(0) 298 sys.exit(0)
299 299
300 if len(sys.argv) != 3: 300 if len(sys.argv) != 3:
301 print usage 301 print usage
302 sys.exit(1) 302 sys.exit(1)
303 303
304 with open(sys.argv[1], 'w') as out: 304 with open(sys.argv[1], 'w') as out:
305 json.dump(get_args(sys.argv[2]), out) 305 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