| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 # Initializes all the perf directories. | 6 # Initializes all the perf directories. |
| 7 | 7 |
| 8 | 8 |
| 9 import optparse | 9 import optparse |
| 10 import os | 10 import os |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 'gpu-webkit-mac': 'Webkit GPU Mac', | 53 'gpu-webkit-mac': 'Webkit GPU Mac', |
| 54 'gpu-webkit-win7-nvidia': 'Webkit GPU Win7 (NVIDIA)', | 54 'gpu-webkit-win7-nvidia': 'Webkit GPU Win7 (NVIDIA)', |
| 55 'gpu-win7-rel': 'GPU Win7 Release', | 55 'gpu-win7-rel': 'GPU Win7 Release', |
| 56 'gpu-win7-release-nvidia': 'GPU Win7 Release (NVIDIA)', | 56 'gpu-win7-release-nvidia': 'GPU Win7 Release (NVIDIA)', |
| 57 'linux-debug': 'Linux Perf (debug)', | 57 'linux-debug': 'Linux Perf (debug)', |
| 58 'linux-release': 'Chromium Linux', | 58 'linux-release': 'Chromium Linux', |
| 59 'linux-release-64': 'Chromium Linux 64', | 59 'linux-release-64': 'Chromium Linux 64', |
| 60 'linux-release-fyi': 'Chromium Linux FYI', | 60 'linux-release-fyi': 'Chromium Linux FYI', |
| 61 'linux-release-hardy': 'Linux Perf', | 61 'linux-release-hardy': 'Linux Perf', |
| 62 'linux-release-lowmem': 'Linux Perf (lowmem)', | 62 'linux-release-lowmem': 'Linux Perf (lowmem)', |
| 63 'linux-release-memory': 'Chromium Linux Memory', | |
| 64 'linux-release-webkit-latest': 'Linux Perf (webkit-latest)', | 63 'linux-release-webkit-latest': 'Linux Perf (webkit-latest)', |
| 65 'linux-targets': 'Linux Target Builds', | 64 'linux-targets': 'Linux Target Builds', |
| 66 'lumpy-chrome-perf': 'Lumpy (perf)', | 65 'lumpy-chrome-perf': 'Lumpy (perf)', |
| 67 'mac-debug': 'Mac Perf (debug)', | 66 'mac-debug': 'Mac Perf (debug)', |
| 68 'mac-release': 'Mac Perf', | 67 'mac-release': 'Mac Perf', |
| 69 'mac-release-10.5': 'Mac 10.5 Perf', | 68 'mac-release-10.5': 'Mac 10.5 Perf', |
| 70 'mac-release-10.5-v8-latest': 'Chromium Mac 10.5 (v8-latest)', | 69 'mac-release-10.5-v8-latest': 'Chromium Mac 10.5 (v8-latest)', |
| 71 'mac-release-10.5-webkit-latest': 'Mac 10.5 Perf (webkit-latest)', | 70 'mac-release-10.5-webkit-latest': 'Mac 10.5 Perf (webkit-latest)', |
| 72 'mac-release-10.6': 'Mac 10.6 Perf', | 71 'mac-release-10.6': 'Mac 10.6 Perf', |
| 73 'mac-release-10.6-v8-latest': 'Chromium Mac 10.6 (v8-latest)', | 72 'mac-release-10.6-v8-latest': 'Chromium Mac 10.6 (v8-latest)', |
| 74 'mac-release-10.6-webkit-latest': 'Mac 10.6 Perf (webkit-latest)', | 73 'mac-release-10.6-webkit-latest': 'Mac 10.6 Perf (webkit-latest)', |
| 75 'mac-release-memory': 'Chromium Mac Memory', | |
| 76 'mac-release-old-10.6': 'Old Mac 10.6 Perf', | 74 'mac-release-old-10.6': 'Old Mac 10.6 Perf', |
| 77 'mac-targets': 'Mac Target Builds', | 75 'mac-targets': 'Mac Target Builds', |
| 78 'nacl-lucid-32-bare-glibc-opt': 'NaCl Lucid32 Bare Glibc Opt', | 76 'nacl-lucid-32-bare-glibc-opt': 'NaCl Lucid32 Bare Glibc Opt', |
| 79 'nacl-lucid-32-bare-newlib-opt': 'NaCl Lucid32 Bare Newlib Opt', | 77 'nacl-lucid-32-bare-newlib-opt': 'NaCl Lucid32 Bare Newlib Opt', |
| 80 'nacl-lucid-64-bare-glibc-opt': 'NaCl Lucid64 Bare Glibc Opt', | 78 'nacl-lucid-64-bare-glibc-opt': 'NaCl Lucid64 Bare Glibc Opt', |
| 81 'nacl-lucid-64-bare-newlib-opt': 'NaCl Lucid64 Bare Newlib Opt', | 79 'nacl-lucid-64-bare-newlib-opt': 'NaCl Lucid64 Bare Newlib Opt', |
| 82 'nacl-lucid_64-newlib-arm_qemu-pnacl-spec': 'NaCl Lucid64 Newlib Arm Qemu Pnac
l Spec', | 80 'nacl-lucid_64-newlib-arm_qemu-pnacl-spec': 'NaCl Lucid64 Newlib Arm Qemu Pnac
l Spec', |
| 83 'nacl-lucid_64-newlib-x86_32-pnacl-spec': 'NaCl Lucid64 Newlib x86_32 Pnacl Sp
ec', | 81 'nacl-lucid_64-newlib-x86_32-pnacl-spec': 'NaCl Lucid64 Newlib x86_32 Pnacl Sp
ec', |
| 84 'nacl-lucid_64-newlib-x86_32-spec': 'NaCl Lucid64 Newlib x86_32 Spec', | 82 'nacl-lucid_64-newlib-x86_32-spec': 'NaCl Lucid64 Newlib x86_32 Spec', |
| 85 'nacl-lucid_64-newlib-x86_64-pnacl-spec': 'NaCl Lucid64 Newlib x86_64 Pnacl Sp
ec', | 83 'nacl-lucid_64-newlib-x86_64-pnacl-spec': 'NaCl Lucid64 Newlib x86_64 Pnacl Sp
ec', |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 continue | 404 continue |
| 407 test_title = TestTitles[test_dir] | 405 test_title = TestTitles[test_dir] |
| 408 perf_dir = os.path.join(system_dir, test_dir) | 406 perf_dir = os.path.join(system_dir, test_dir) |
| 409 os.chmod(perf_dir, 0755) | 407 os.chmod(perf_dir, 0755) |
| 410 TestInit(perf_dir, system_title, test_title, symlink_list, options.endure) | 408 TestInit(perf_dir, system_title, test_title, symlink_list, options.endure) |
| 411 return 0 | 409 return 0 |
| 412 | 410 |
| 413 | 411 |
| 414 if __name__ == '__main__': | 412 if __name__ == '__main__': |
| 415 sys.exit(main()) | 413 sys.exit(main()) |
| OLD | NEW |