| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 SKIP_GN_ISOLATE_MAP_TARGETS = { | 134 SKIP_GN_ISOLATE_MAP_TARGETS = { |
| 135 # TODO(GYP): These targets have not been ported to GN yet. | 135 # TODO(GYP): These targets have not been ported to GN yet. |
| 136 'android_webview_unittests', | 136 'android_webview_unittests', |
| 137 'angle_deqp_gles2_tests', | 137 'angle_deqp_gles2_tests', |
| 138 'angle_deqp_gles3_tests', | 138 'angle_deqp_gles3_tests', |
| 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 # These targets are run on the bots but not listed in the | 144 # TODO(kbr): teach this script about isolated_scripts tests. |
| 145 # buildbot JSON files. | 145 # crbug.com/620531 |
| 146 # TODO(kbr): remove these before closing http://crbug.com/542370 . | 146 'telemetry_gpu_integration_test', |
| 147 'angle_end2end_tests', | |
| 148 'gl_tests', | |
| 149 'gl_unittests', | |
| 150 'gles2_conform_test', | |
| 151 'tab_capture_end2end_tests', | |
| 152 'telemetry_gpu_test', | 147 'telemetry_gpu_test', |
| 153 'telemetry_gpu_unittests', | 148 'telemetry_gpu_unittests', |
| 154 'telemetry_perf_unittests', | 149 'telemetry_perf_unittests', |
| 155 'telemetry_unittests', | 150 'telemetry_unittests', |
| 156 } | 151 } |
| 157 | 152 |
| 158 | 153 |
| 159 class Error(Exception): | 154 class Error(Exception): |
| 160 """Processing error.""" | 155 """Processing error.""" |
| 161 | 156 |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 elif args.mode == 'remaining': | 384 elif args.mode == 'remaining': |
| 390 print_remaining(args.test_name, tests_location) | 385 print_remaining(args.test_name, tests_location) |
| 391 return result | 386 return result |
| 392 except Error as e: | 387 except Error as e: |
| 393 sys.stderr.write('%s\n' % e) | 388 sys.stderr.write('%s\n' % e) |
| 394 return 1 | 389 return 1 |
| 395 | 390 |
| 396 | 391 |
| 397 if __name__ == "__main__": | 392 if __name__ == "__main__": |
| 398 sys.exit(main()) | 393 sys.exit(main()) |
| OLD | NEW |