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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 args.append('--config') | 80 args.append('--config') |
81 args.extend(configs) | 81 args.extend(configs) |
82 | 82 |
83 # Run tests, gms, and image decoding tests everywhere. | 83 # Run tests and gms everywhere, |
| 84 # and image decoding tests everywhere except GPU bots. |
84 # TODO: remove skp from default --src list? | 85 # TODO: remove skp from default --src list? |
85 args.extend('--src tests gm image'.split(' ')) | 86 if 'GPU' in bot: |
| 87 args.extend('--src tests gm'.split(' ')) |
| 88 else: |
| 89 args.extend('--src tests gm image'.split(' ')) |
86 | 90 |
87 if 'GalaxyS' in bot: | 91 if 'GalaxyS' in bot: |
88 args.extend(('--threads', '0')) | 92 args.extend(('--threads', '0')) |
89 | 93 |
90 blacklist = [] | 94 blacklist = [] |
91 | 95 |
92 # Certain gm's on win7 gpu and pdf are never finishing and keeping the test | 96 # Certain gm's on win7 gpu and pdf are never finishing and keeping the test |
93 # running forever | 97 # running forever |
94 if 'Win7' in bot: | 98 if 'Win7' in bot: |
95 blacklist.extend('msaa16 gm _ colorwheelnative'.split(' ')) | 99 blacklist.extend('msaa16 gm _ colorwheelnative'.split(' ')) |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 234 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
231 self_test() | 235 self_test() |
232 sys.exit(0) | 236 sys.exit(0) |
233 | 237 |
234 if len(sys.argv) != 3: | 238 if len(sys.argv) != 3: |
235 print usage | 239 print usage |
236 sys.exit(1) | 240 sys.exit(1) |
237 | 241 |
238 with open(sys.argv[1], 'w') as out: | 242 with open(sys.argv[1], 'w') as out: |
239 json.dump(get_args(sys.argv[2]), out) | 243 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |