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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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: | 80 if 'MSAN' in bot: |
81 configs = ['8888'] | 81 configs = [ |
| 82 '565', |
| 83 '8888', |
| 84 'pdf', |
| 85 'pdf_poppler', |
| 86 ] |
82 | 87 |
83 args.append('--config') | 88 args.append('--config') |
84 args.extend(configs) | 89 args.extend(configs) |
85 | 90 |
86 # Run tests, gms, and image decoding tests everywhere. | 91 # Run tests, gms, and image decoding tests everywhere. |
87 # TODO: remove skp from default --src list? | 92 # TODO: remove skp from default --src list? |
88 args.extend('--src tests gm image'.split(' ')) | 93 args.extend('--src tests gm image'.split(' ')) |
89 | 94 |
90 if 'GalaxyS' in bot: | 95 if 'GalaxyS' in bot: |
91 args.extend(('--threads', '0')) | 96 args.extend(('--threads', '0')) |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 257 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
253 self_test() | 258 self_test() |
254 sys.exit(0) | 259 sys.exit(0) |
255 | 260 |
256 if len(sys.argv) != 3: | 261 if len(sys.argv) != 3: |
257 print usage | 262 print usage |
258 sys.exit(1) | 263 sys.exit(1) |
259 | 264 |
260 with open(sys.argv[1], 'w') as out: | 265 with open(sys.argv[1], 'w') as out: |
261 json.dump(get_args(sys.argv[2]), out) | 266 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |