| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2015 The Chromium Authors. All rights reserved. | 2 # Copyright 2015 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 """Toolbox to manage all the json files in this directory. | 6 """Toolbox to manage all the json files in this directory. |
| 7 | 7 |
| 8 It can reformat them in their canonical format or ensures they are well | 8 It can reformat them in their canonical format or ensures they are well |
| 9 formatted. | 9 formatted. |
| 10 """ | 10 """ |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 'cast_media_unittests', | 139 'cast_media_unittests', |
| 140 'cast_shell_browser_test', | 140 'cast_shell_browser_test', |
| 141 'chromevox_tests', | 141 'chromevox_tests', |
| 142 'nacl_helper_nonsfi_unittests', | 142 'nacl_helper_nonsfi_unittests', |
| 143 | 143 |
| 144 # TODO(kbr): teach this script about isolated_scripts tests. | 144 # TODO(kbr): teach this script about isolated_scripts tests. |
| 145 # crbug.com/620531 | 145 # crbug.com/620531 |
| 146 'telemetry_gpu_integration_test', | 146 'telemetry_gpu_integration_test', |
| 147 'telemetry_gpu_test', | 147 'telemetry_gpu_test', |
| 148 'telemetry_gpu_unittests', | 148 'telemetry_gpu_unittests', |
| 149 'telemetry_perf_tests', |
| 149 'telemetry_perf_unittests', | 150 'telemetry_perf_unittests', |
| 150 'telemetry_unittests', | 151 'telemetry_unittests', |
| 151 } | 152 } |
| 152 | 153 |
| 153 | 154 |
| 154 class Error(Exception): | 155 class Error(Exception): |
| 155 """Processing error.""" | 156 """Processing error.""" |
| 156 | 157 |
| 157 | 158 |
| 158 def get_isolates(): | 159 def get_isolates(): |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 elif args.mode == 'remaining': | 392 elif args.mode == 'remaining': |
| 392 print_remaining(args.test_name, tests_location) | 393 print_remaining(args.test_name, tests_location) |
| 393 return result | 394 return result |
| 394 except Error as e: | 395 except Error as e: |
| 395 sys.stderr.write('%s\n' % e) | 396 sys.stderr.write('%s\n' % e) |
| 396 return 1 | 397 return 1 |
| 397 | 398 |
| 398 | 399 |
| 399 if __name__ == "__main__": | 400 if __name__ == "__main__": |
| 400 sys.exit(main()) | 401 sys.exit(main()) |
| OLD | NEW |