| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 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 """A tool to kill any leftover test processes, executed by buildbot. | 6 """A tool to kill any leftover test processes, executed by buildbot. |
| 7 | 7 |
| 8 Only works on Windows.""" | 8 Only works on Windows.""" |
| 9 | 9 |
| 10 import optparse | 10 import optparse |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 'browser_tests.exe', | 175 'browser_tests.exe', |
| 176 'cacheinvalidation_unittests.exe', | 176 'cacheinvalidation_unittests.exe', |
| 177 'chrome.exe', | 177 'chrome.exe', |
| 178 'chromedriver.exe', | 178 'chromedriver.exe', |
| 179 'chromedriver_tests.exe', | 179 'chromedriver_tests.exe', |
| 180 'chromedriver_unittests.exe', | 180 'chromedriver_unittests.exe', |
| 181 'chrome_launcher.exe', | 181 'chrome_launcher.exe', |
| 182 'content_shell.exe', | 182 'content_shell.exe', |
| 183 'content_shell_crash_service.exe', | 183 'content_shell_crash_service.exe', |
| 184 'content_unittests.exe', | 184 'content_unittests.exe', |
| 185 'crash_service.exe', | |
| 186 'crypto_unittests.exe', | 185 'crypto_unittests.exe', |
| 187 'debug_message.exe', | 186 'debug_message.exe', |
| 188 'device_unittests.exe', | 187 'device_unittests.exe', |
| 189 'DumpRenderTree.exe', | 188 'DumpRenderTree.exe', |
| 190 'flush_cache.exe', | 189 'flush_cache.exe', |
| 191 'gl_tests.exe', | 190 'gl_tests.exe', |
| 192 'ie_unittests.exe', | 191 'ie_unittests.exe', |
| 193 'image_diff.exe', | 192 'image_diff.exe', |
| 194 'installer_util_unittests.exe', | 193 'installer_util_unittests.exe', |
| 195 'interactive_ui_tests.exe', | 194 'interactive_ui_tests.exe', |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 # we exit with an error code if they're not. | 249 # we exit with an error code if they're not. |
| 251 if KillAll(processes, must_die=True): | 250 if KillAll(processes, must_die=True): |
| 252 return 0 | 251 return 0 |
| 253 | 252 |
| 254 # Some processes were not killed, exit with non-zero status. | 253 # Some processes were not killed, exit with non-zero status. |
| 255 return 1 | 254 return 1 |
| 256 | 255 |
| 257 | 256 |
| 258 if '__main__' == __name__: | 257 if '__main__' == __name__: |
| 259 sys.exit(main()) | 258 sys.exit(main()) |
| OLD | NEW |