| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 83 |
| 84 if 'ANGLE' in bot: | 84 if 'ANGLE' in bot: |
| 85 configs.append('angle') | 85 configs.append('angle') |
| 86 | 86 |
| 87 # We want to run gpudft on atleast the mali 400 | 87 # We want to run gpudft on atleast the mali 400 |
| 88 if 'GalaxyS3' in bot: | 88 if 'GalaxyS3' in bot: |
| 89 configs.append('gpudft') | 89 configs.append('gpudft') |
| 90 | 90 |
| 91 # CommandBuffer bot *only* runs the command_buffer config. | 91 # CommandBuffer bot *only* runs the command_buffer config. |
| 92 if 'CommandBuffer' in bot: | 92 if 'CommandBuffer' in bot: |
| 93 configs = ['command_buffer'] | 93 configs = ['commandbuffer'] |
| 94 | 94 |
| 95 # Vulkan bot *only* runs the vk config. | 95 # Vulkan bot *only* runs the vk config. |
| 96 if 'Vulkan' in bot: | 96 if 'Vulkan' in bot: |
| 97 configs = ['vk'] | 97 configs = ['vk'] |
| 98 | 98 |
| 99 args.append('--config') | 99 args.append('--config') |
| 100 args.extend(configs) | 100 args.extend(configs) |
| 101 | 101 |
| 102 # Run tests, gms, and image decoding tests everywhere. | 102 # Run tests, gms, and image decoding tests everywhere. |
| 103 args.extend('--src tests gm image'.split(' ')) | 103 args.extend('--src tests gm image'.split(' ')) |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 296 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 297 self_test() | 297 self_test() |
| 298 sys.exit(0) | 298 sys.exit(0) |
| 299 | 299 |
| 300 if len(sys.argv) != 3: | 300 if len(sys.argv) != 3: |
| 301 print usage | 301 print usage |
| 302 sys.exit(1) | 302 sys.exit(1) |
| 303 | 303 |
| 304 with open(sys.argv[1], 'w') as out: | 304 with open(sys.argv[1], 'w') as out: |
| 305 json.dump(get_args(sys.argv[2]), out) | 305 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |