| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2011 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 os | 9 import os |
| 10 import sys | 10 import sys |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 TestTitles = { | 73 TestTitles = { |
| 74 'bloat-http': 'Bloat - HTTP', | 74 'bloat-http': 'Bloat - HTTP', |
| 75 'chrome_frame_perf': 'Chrome Frame Perf', | 75 'chrome_frame_perf': 'Chrome Frame Perf', |
| 76 'coverage': 'Code Coverage', | 76 'coverage': 'Code Coverage', |
| 77 'database': 'Page Cycler Database', | 77 'database': 'Page Cycler Database', |
| 78 'dhtml': 'Page Cycler DHTML', | 78 'dhtml': 'Page Cycler DHTML', |
| 79 'dom_perf': 'Dom', | 79 'dom_perf': 'Dom', |
| 80 'dromaeo_domcore': 'Dromaeo DOMCore', | 80 'dromaeo_domcore': 'Dromaeo DOMCore', |
| 81 'dromaeo_jslib': 'Dromaeo JSLib', | 81 'dromaeo_jslib': 'Dromaeo JSLib', |
| 82 'frame_rate': 'Frame Rate', |
| 82 'indexeddb': 'Page Cycler IndexedDB', | 83 'indexeddb': 'Page Cycler IndexedDB', |
| 83 'intl1': 'Page Cycler Intl1', | 84 'intl1': 'Page Cycler Intl1', |
| 84 'intl2': 'Page Cycler Intl2', | 85 'intl2': 'Page Cycler Intl2', |
| 85 'memory': 'Memory', | 86 'memory': 'Memory', |
| 86 'media_perf': 'Media Perf', | 87 'media_perf': 'Media Perf', |
| 87 'morejs': 'Page Cycler Morejs', | 88 'morejs': 'Page Cycler Morejs', |
| 88 'moz': 'Page Cycler Moz', | 89 'moz': 'Page Cycler Moz', |
| 89 'moz-http': 'Page Cycler Moz - HTTP', | 90 'moz-http': 'Page Cycler Moz - HTTP', |
| 90 'nacl-perf': 'NaCl Perf', | 91 'nacl-perf': 'NaCl Perf', |
| 91 'new-tab-ui-cold': 'New Tab Cold', | 92 'new-tab-ui-cold': 'New Tab Cold', |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 continue | 186 continue |
| 186 test_title = TestTitles[test_dir] | 187 test_title = TestTitles[test_dir] |
| 187 perf_dir = os.path.join(system_dir, test_dir) | 188 perf_dir = os.path.join(system_dir, test_dir) |
| 188 os.chmod(perf_dir, 0755) | 189 os.chmod(perf_dir, 0755) |
| 189 TestInit(perf_dir, system_title, test_title) | 190 TestInit(perf_dir, system_title, test_title) |
| 190 return 0 | 191 return 0 |
| 191 | 192 |
| 192 | 193 |
| 193 if __name__ == '__main__': | 194 if __name__ == '__main__': |
| 194 sys.exit(main()) | 195 sys.exit(main()) |
| OLD | NEW |