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