| OLD | NEW |
| 1 #!/usr/bin/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 """Main function to run the layout test analyzer. | 6 """Main function to run the layout test analyzer. |
| 7 | 7 |
| 8 The purpose of this script is to run the layout test analyzer for various | 8 The purpose of this script is to run the layout test analyzer for various |
| 9 teams based on the run configuration file in CSV format. The CSV file is based | 9 teams based on the run configuration file in CSV format. The CSV file is based |
| 10 on https://sites.google.com/a/chromium.org/dev/developers/testing/ | 10 on https://sites.google.com/a/chromium.org/dev/developers/testing/ |
| 11 webkit-layout-tests/layout-test-stats-1. | 11 webkit-layout-tests/layout-test-stats-1. |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 cmd += ' -b ' + options.email_appended_text_file_location | 194 cmd += ' -b ' + options.email_appended_text_file_location |
| 195 if options.email_only_change_mode: | 195 if options.email_only_change_mode: |
| 196 cmd += ' -c ' | 196 cmd += ' -c ' |
| 197 print 'Running ' + cmd | 197 print 'Running ' + cmd |
| 198 proc = Popen(cmd, shell=True) | 198 proc = Popen(cmd, shell=True) |
| 199 proc.communicate() | 199 proc.communicate() |
| 200 | 200 |
| 201 | 201 |
| 202 if '__main__' == __name__: | 202 if '__main__' == __name__: |
| 203 main() | 203 main() |
| OLD | NEW |