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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 configs.extend(mode + '-8888' for mode in | 70 configs.extend(mode + '-8888' for mode in |
71 ['serialize', 'tiles_rt', 'pic']) | 71 ['serialize', 'tiles_rt', 'pic']) |
72 | 72 |
73 if 'ANGLE' in bot: | 73 if 'ANGLE' in bot: |
74 configs.append('angle') | 74 configs.append('angle') |
75 | 75 |
76 # We want to run gpudft on atleast the mali 400 | 76 # We want to run gpudft on atleast the mali 400 |
77 if 'GalaxyS3' in bot: | 77 if 'GalaxyS3' in bot: |
78 configs.append('gpudft') | 78 configs.append('gpudft') |
79 | 79 |
| 80 if 'MSAN' in bot: |
| 81 configs = ['8888'] |
| 82 |
80 args.append('--config') | 83 args.append('--config') |
81 args.extend(configs) | 84 args.extend(configs) |
82 | 85 |
83 # Run tests, gms, and image decoding tests everywhere. | 86 # Run tests, gms, and image decoding tests everywhere. |
84 # TODO: remove skp from default --src list? | 87 # TODO: remove skp from default --src list? |
85 args.extend('--src tests gm image'.split(' ')) | 88 args.extend('--src tests gm image'.split(' ')) |
86 | 89 |
87 if 'GalaxyS' in bot: | 90 if 'GalaxyS' in bot: |
88 args.extend(('--threads', '0')) | 91 args.extend(('--threads', '0')) |
89 | 92 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 if 'GalaxyS4' in bot: # skia:4079 | 184 if 'GalaxyS4' in bot: # skia:4079 |
182 match.append('~imagefiltersclipped') | 185 match.append('~imagefiltersclipped') |
183 match.append('~imagefilterscropexpand') | 186 match.append('~imagefilterscropexpand') |
184 match.append('~scaled_tilemodes_npot') | 187 match.append('~scaled_tilemodes_npot') |
185 match.append('~bleed_image') # skia:4367 | 188 match.append('~bleed_image') # skia:4367 |
186 match.append('~ReadPixels') # skia:4368 | 189 match.append('~ReadPixels') # skia:4368 |
187 | 190 |
188 if 'ANGLE' in bot and 'Debug' in bot: | 191 if 'ANGLE' in bot and 'Debug' in bot: |
189 match.append('~GLPrograms') # skia:4717 | 192 match.append('~GLPrograms') # skia:4717 |
190 | 193 |
| 194 if 'MSAN' in bot: |
| 195 match.extend(['~Once', '~Shared']) # Not sure what's up with these tests. |
| 196 |
191 if blacklist: | 197 if blacklist: |
192 args.append('--blacklist') | 198 args.append('--blacklist') |
193 args.extend(blacklist) | 199 args.extend(blacklist) |
194 | 200 |
195 if match: | 201 if match: |
196 args.append('--match') | 202 args.append('--match') |
197 args.extend(match) | 203 args.extend(match) |
198 | 204 |
199 # These bots run out of memory running RAW codec tests. Do not run them in | 205 # These bots run out of memory running RAW codec tests. Do not run them in |
200 # parallel | 206 # parallel |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 252 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
247 self_test() | 253 self_test() |
248 sys.exit(0) | 254 sys.exit(0) |
249 | 255 |
250 if len(sys.argv) != 3: | 256 if len(sys.argv) != 3: |
251 print usage | 257 print usage |
252 sys.exit(1) | 258 sys.exit(1) |
253 | 259 |
254 with open(sys.argv[1], 'w') as out: | 260 with open(sys.argv[1], 'w') as out: |
255 json.dump(get_args(sys.argv[2]), out) | 261 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |