| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # | 2 # |
| 3 # Copyright 2015 The Chromium Authors. All rights reserved. | 3 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 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 '''Generate buildbot specs for all buildbots.''' | 8 '''Generate buildbot specs for all buildbots.''' |
| 9 | 9 |
| 10 | 10 |
| 11 import datetime | 11 import datetime |
| 12 import json | 12 import json |
| 13 import os | 13 import os |
| 14 import re | 14 import re |
| 15 import subprocess | 15 import subprocess |
| 16 import sys | 16 import sys |
| 17 import tempfile | 17 import tempfile |
| 18 | 18 |
| 19 | 19 |
| 20 # These are the bots which are run by the recipe simulation tests. | 20 # These are the bots which are run by the recipe simulation tests. |
| 21 bots = [ | 21 bots = [ |
| 22 'Build-Mac10.8-Clang-Arm7-Debug-Android', | 22 'Build-Mac10.8-Clang-Arm7-Debug-Android', |
| 23 'Build-Ubuntu-GCC-Arm7-Debug-Android', | 23 'Build-Ubuntu-GCC-Arm7-Debug-Android', |
| 24 'Housekeeper-PerCommit', | 24 'Housekeeper-PerCommit', |
| 25 'Housekeeper-PerCommit-Trybot', | 25 'Housekeeper-PerCommit-Trybot', |
| 26 'Perf-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release', | 26 'Perf-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release', |
| 27 'Perf-Android-GCC-Nexus5-CPU-NEON-Arm7-Release-Appurify', |
| 27 'Perf-Android-GCC-Nexus5-GPU-Adreno330-Arm7-Release-Appurify', | 28 'Perf-Android-GCC-Nexus5-GPU-Adreno330-Arm7-Release-Appurify', |
| 28 'Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot', | 29 'Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot', |
| 29 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug', | 30 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug', |
| 30 'Test-ChromeOS-GCC-Link-CPU-AVX-x86_64-Debug', | 31 'Test-ChromeOS-GCC-Link-CPU-AVX-x86_64-Debug', |
| 31 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug', | 32 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug', |
| 32 'Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot', | 33 'Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot', |
| 33 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug', | 34 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug', |
| 34 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN', | 35 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN', |
| 35 'Test-Ubuntu-GCC-ShuttleA-CPU-AVX-x86_64-Debug', | 36 'Test-Ubuntu-GCC-ShuttleA-CPU-AVX-x86_64-Debug', |
| 36 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', | 37 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 | 151 |
| 151 print 'Wrote output to %s' % out | 152 print 'Wrote output to %s' % out |
| 152 | 153 |
| 153 | 154 |
| 154 if __name__ == '__main__': | 155 if __name__ == '__main__': |
| 155 if len(sys.argv) != 2: | 156 if len(sys.argv) != 2: |
| 156 print >> sys.stderr, ('Usage: %s <path_to_buildbot_spec_script>' | 157 print >> sys.stderr, ('Usage: %s <path_to_buildbot_spec_script>' |
| 157 % sys.argv[0]) | 158 % sys.argv[0]) |
| 158 sys.exit(1) | 159 sys.exit(1) |
| 159 main(*sys.argv[1:]) | 160 main(*sys.argv[1:]) |
| OLD | NEW |