| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 = ['command_buffer'] |
| 94 | 94 |
| 95 # Vulkan bot *only* runs the vk config. |
| 96 if 'Vulkan' in bot: |
| 97 configs = ['vk'] |
| 98 |
| 95 args.append('--config') | 99 args.append('--config') |
| 96 args.extend(configs) | 100 args.extend(configs) |
| 97 | 101 |
| 98 # Run tests, gms, and image decoding tests everywhere. | 102 # Run tests, gms, and image decoding tests everywhere. |
| 99 # TODO: remove skp from default --src list? | |
| 100 args.extend('--src tests gm image'.split(' ')) | 103 args.extend('--src tests gm image'.split(' ')) |
| 101 | 104 |
| 102 if 'GalaxyS' in bot: | 105 if 'GalaxyS' in bot: |
| 103 args.extend(('--threads', '0')) | 106 args.extend(('--threads', '0')) |
| 104 | 107 |
| 105 blacklist = [] | 108 blacklist = [] |
| 106 | 109 |
| 107 # TODO: ??? | 110 # TODO: ??? |
| 108 blacklist.extend('f16 _ _ dstreadshuffle'.split(' ')) | 111 blacklist.extend('f16 _ _ dstreadshuffle'.split(' ')) |
| 109 blacklist.extend('f16 image _ _'.split(' ')) | 112 blacklist.extend('f16 image _ _'.split(' ')) |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 'Test-Android-GCC-Nexus9-GPU-TegraK1-Arm64-Debug', | 264 'Test-Android-GCC-Nexus9-GPU-TegraK1-Arm64-Debug', |
| 262 'Test-Android-GCC-NexusPlayer-CPU-SSSE3-x86-Release', | 265 'Test-Android-GCC-NexusPlayer-CPU-SSSE3-x86-Release', |
| 263 'Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Release', | 266 'Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Release', |
| 264 'Test-Mac-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release', | 267 'Test-Mac-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release', |
| 265 'Test-Mac-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug-CommandBuffer', | 268 'Test-Mac-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug-CommandBuffer', |
| 266 'Test-Mac10.8-Clang-MacMini4.1-CPU-SSE4-x86_64-Release', | 269 'Test-Mac10.8-Clang-MacMini4.1-CPU-SSE4-x86_64-Release', |
| 267 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN', | 270 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN', |
| 268 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN', | 271 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN', |
| 269 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Valgrind', | 272 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Valgrind', |
| 270 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', | 273 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', |
| 274 'Test-Win10-MSVC-ShuttleA-GPU-GTX660-x86_64-Debug-Vulkan', |
| 271 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE', | 275 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE', |
| 272 ] | 276 ] |
| 273 | 277 |
| 274 cov = coverage.coverage() | 278 cov = coverage.coverage() |
| 275 cov.start() | 279 cov.start() |
| 276 for case in cases: | 280 for case in cases: |
| 277 args[case] = get_args(case) | 281 args[case] = get_args(case) |
| 278 cov.stop() | 282 cov.stop() |
| 279 | 283 |
| 280 this_file = os.path.basename(__file__) | 284 this_file = os.path.basename(__file__) |
| (...skipping 12 matching lines...) Expand all Loading... |
| 293 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 297 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 294 self_test() | 298 self_test() |
| 295 sys.exit(0) | 299 sys.exit(0) |
| 296 | 300 |
| 297 if len(sys.argv) != 3: | 301 if len(sys.argv) != 3: |
| 298 print usage | 302 print usage |
| 299 sys.exit(1) | 303 sys.exit(1) |
| 300 | 304 |
| 301 with open(sys.argv[1], 'w') as out: | 305 with open(sys.argv[1], 'w') as out: |
| 302 json.dump(get_args(sys.argv[2]), out) | 306 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |