OLD | NEW |
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 else: | 55 else: |
56 configs.append('msaa16') | 56 configs.append('msaa16') |
57 # Runs out of memory on Android bots and Daisy. Everyone else seems fine. | 57 # Runs out of memory on Android bots and Daisy. Everyone else seems fine. |
58 if 'Android' not in bot and 'Daisy' not in bot: | 58 if 'Android' not in bot and 'Daisy' not in bot: |
59 configs.append('pdf') | 59 configs.append('pdf') |
60 | 60 |
61 # NP is running out of RAM when we run all these modes. skia:3255 | 61 # NP is running out of RAM when we run all these modes. skia:3255 |
62 if 'NexusPlayer' not in bot: | 62 if 'NexusPlayer' not in bot: |
63 configs.extend(mode + '-8888' for mode in | 63 configs.extend(mode + '-8888' for mode in |
64 ['serialize', 'tiles_rt', 'pipe']) | 64 ['serialize', 'tiles_rt', 'pipe']) |
65 configs.append('tiles_rt-gpu') | 65 |
66 if 'ANGLE' in bot: | 66 if 'ANGLE' in bot: |
67 configs.append('angle') | 67 configs.append('angle') |
68 args.append('--config') | 68 args.append('--config') |
69 args.extend(configs) | 69 args.extend(configs) |
70 | 70 |
71 if 'GalaxyS' in bot: | 71 if 'GalaxyS' in bot: |
72 args.extend(('--threads', '0')) | 72 args.extend(('--threads', '0')) |
73 | 73 |
74 blacklist = [] | 74 blacklist = [] |
75 # This image is too large to be a texture for many GPUs. | 75 # This image is too large to be a texture for many GPUs. |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 blacklist.extend('pdf skp _ worldjournal'.split(' ')) | 134 blacklist.extend('pdf skp _ worldjournal'.split(' ')) |
135 blacklist.extend('pdf skp _ desk_baidu.skp'.split(' ')) | 135 blacklist.extend('pdf skp _ desk_baidu.skp'.split(' ')) |
136 blacklist.extend('pdf skp _ desk_wikipedia.skp'.split(' ')) | 136 blacklist.extend('pdf skp _ desk_wikipedia.skp'.split(' ')) |
137 | 137 |
138 if 'iOS' in bot: | 138 if 'iOS' in bot: |
139 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' ')) | 139 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' ')) |
140 blacklist.extend('gpu image decode _ msaa image decode _'.split(' ')) | 140 blacklist.extend('gpu image decode _ msaa image decode _'.split(' ')) |
141 blacklist.extend('gpu image subset _ msaa image subset _'.split(' ')) | 141 blacklist.extend('gpu image subset _ msaa image subset _'.split(' ')) |
142 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' ')) | 142 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' ')) |
143 | 143 |
144 if 'GalaxyS4' in bot: | |
145 # This occasionally runs forever. skia:3802 | |
146 blacklist.extend('tiles_rt-gpu gm _ imagefilterscropped'.split(' ')) | |
147 | |
148 if blacklist: | 144 if blacklist: |
149 args.append('--blacklist') | 145 args.append('--blacklist') |
150 args.extend(blacklist) | 146 args.extend(blacklist) |
151 | 147 |
152 match = [] | 148 match = [] |
153 if 'Valgrind' in bot: # skia:3021 | 149 if 'Valgrind' in bot: # skia:3021 |
154 match.append('~Threaded') | 150 match.append('~Threaded') |
155 if 'TSAN' in bot: # skia:3562 | 151 if 'TSAN' in bot: # skia:3562 |
156 match.append('~Math') | 152 match.append('~Math') |
157 | 153 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 211 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
216 self_test() | 212 self_test() |
217 sys.exit(0) | 213 sys.exit(0) |
218 | 214 |
219 if len(sys.argv) != 3: | 215 if len(sys.argv) != 3: |
220 print usage | 216 print usage |
221 sys.exit(1) | 217 sys.exit(1) |
222 | 218 |
223 with open(sys.argv[1], 'w') as out: | 219 with open(sys.argv[1], 'w') as out: |
224 json.dump(get_args(sys.argv[2]), out) | 220 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |