| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 configs.append('pdf') | 64 configs.append('pdf') |
| 65 configs.append('pdf_poppler') | 65 configs.append('pdf_poppler') |
| 66 | 66 |
| 67 # NP is running out of RAM when we run all these modes. skia:3255 | 67 # NP is running out of RAM when we run all these modes. skia:3255 |
| 68 if 'NexusPlayer' not in bot: | 68 if 'NexusPlayer' not in bot: |
| 69 configs.extend(mode + '-8888' for mode in | 69 configs.extend(mode + '-8888' for mode in |
| 70 ['serialize', 'tiles_rt', 'pipe']) | 70 ['serialize', 'tiles_rt', 'pipe']) |
| 71 | 71 |
| 72 if 'ANGLE' in bot: | 72 if 'ANGLE' in bot: |
| 73 configs.append('angle') | 73 configs.append('angle') |
| 74 |
| 75 # We want to run gpudft on atleast the mali 400 |
| 76 if 'GalaxyS3' in bot: |
| 77 configs.append('gpudft') |
| 78 |
| 74 args.append('--config') | 79 args.append('--config') |
| 75 args.extend(configs) | 80 args.extend(configs) |
| 76 | 81 |
| 77 # Run tests and gms everywhere, | 82 # Run tests and gms everywhere, |
| 78 # and image decoding tests everywhere except GPU bots. | 83 # and image decoding tests everywhere except GPU bots. |
| 79 # TODO: remove skp from default --src list? | 84 # TODO: remove skp from default --src list? |
| 80 if 'GPU' in bot: | 85 if 'GPU' in bot: |
| 81 args.extend('--src tests gm'.split(' ')) | 86 args.extend('--src tests gm'.split(' ')) |
| 82 else: | 87 else: |
| 83 args.extend('--src tests gm image'.split(' ')) | 88 args.extend('--src tests gm image'.split(' ')) |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 241 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 237 self_test() | 242 self_test() |
| 238 sys.exit(0) | 243 sys.exit(0) |
| 239 | 244 |
| 240 if len(sys.argv) != 3: | 245 if len(sys.argv) != 3: |
| 241 print usage | 246 print usage |
| 242 sys.exit(1) | 247 sys.exit(1) |
| 243 | 248 |
| 244 with open(sys.argv[1], 'w') as out: | 249 with open(sys.argv[1], 'w') as out: |
| 245 json.dump(get_args(sys.argv[2]), out) | 250 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |