| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2010 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 """ | 6 """ |
| 7 This is a script for generating JSON from JUnit XML output (generated by | 7 This is a script for generating JSON from JUnit XML output (generated by |
| 8 google tests with --gtest_output=xml option). | 8 google tests with --gtest_output=xml option). |
| 9 """ | 9 """ |
| 10 import logging | 10 import logging |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 option_parser.add_option("", "--build-name", | 126 option_parser.add_option("", "--build-name", |
| 127 default="DUMMY_BUILD_NAME", | 127 default="DUMMY_BUILD_NAME", |
| 128 help="The name of the builder used in its path, " | 128 help="The name of the builder used in its path, " |
| 129 "e.g. webkit-rel.") | 129 "e.g. webkit-rel.") |
| 130 option_parser.add_option("", "--build-number", | 130 option_parser.add_option("", "--build-number", |
| 131 default="DUMMY_BUILD_NUMBER", | 131 default="DUMMY_BUILD_NUMBER", |
| 132 help="The build number of the builder running" | 132 help="The build number of the builder running" |
| 133 "this script.") | 133 "this script.") |
| 134 options, args = option_parser.parse_args() | 134 options, args = option_parser.parse_args() |
| 135 main(options, args) | 135 main(options, args) |
| OLD | NEW |