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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 237 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
242 self_test() | 238 self_test() |
243 sys.exit(0) | 239 sys.exit(0) |
244 | 240 |
245 if len(sys.argv) != 3: | 241 if len(sys.argv) != 3: |
246 print usage | 242 print usage |
247 sys.exit(1) | 243 sys.exit(1) |
248 | 244 |
249 with open(sys.argv[1], 'w') as out: | 245 with open(sys.argv[1], 'w') as out: |
250 json.dump(get_args(sys.argv[2]), out) | 246 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |