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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 'Build-Ubuntu-GCC-x86_64-Debug-CrOS_Link', | 304 'Build-Ubuntu-GCC-x86_64-Debug-CrOS_Link', |
305 'Build-Ubuntu-GCC-x86_64-Release-Mesa', | 305 'Build-Ubuntu-GCC-x86_64-Release-Mesa', |
306 'Housekeeper-PerCommit', | 306 'Housekeeper-PerCommit', |
307 'Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot', | 307 'Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot', |
308 'Perf-Android-GCC-Nexus5-GPU-Adreno330-Arm7-Release-Appurify', | 308 'Perf-Android-GCC-Nexus5-GPU-Adreno330-Arm7-Release-Appurify', |
309 'Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Debug', | 309 'Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Debug', |
310 'Test-ChromeOS-GCC-Link-CPU-AVX-x86_64-Debug', | 310 'Test-ChromeOS-GCC-Link-CPU-AVX-x86_64-Debug', |
311 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug', | 311 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug', |
312 'Test-Mac10.8-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release', | 312 'Test-Mac10.8-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release', |
313 'Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage', | 313 'Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage', |
| 314 ('Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-' |
| 315 'SK_USE_DISCARDABLE_SCALEDIMAGECACHE'), |
314 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD', | 316 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD', |
315 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared', | 317 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared', |
316 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', | 318 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', |
317 'Test-Win8-MSVC-ShuttleB-GPU-HD4600-x86-Release-ANGLE', | 319 'Test-Win8-MSVC-ShuttleB-GPU-HD4600-x86-Release-ANGLE', |
318 'Test-Win8-MSVC-ShuttleA-CPU-AVX-x86_64-Debug', | 320 'Test-Win8-MSVC-ShuttleA-CPU-AVX-x86_64-Debug', |
319 ] | 321 ] |
320 | 322 |
321 cov = coverage.coverage() | 323 cov = coverage.coverage() |
322 cov.start() | 324 cov.start() |
323 for case in cases: | 325 for case in cases: |
(...skipping 17 matching lines...) Expand all Loading... |
341 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 343 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
342 self_test() | 344 self_test() |
343 sys.exit(0) | 345 sys.exit(0) |
344 | 346 |
345 if len(sys.argv) != 3: | 347 if len(sys.argv) != 3: |
346 print usage | 348 print usage |
347 sys.exit(1) | 349 sys.exit(1) |
348 | 350 |
349 with open(sys.argv[1], 'w') as out: | 351 with open(sys.argv[1], 'w') as out: |
350 json.dump(get_builder_spec(sys.argv[2]), out) | 352 json.dump(get_builder_spec(sys.argv[2]), out) |
OLD | NEW |