| 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 # Things built by/for Chromium. | 169 # Things built by/for Chromium. |
| 170 'app_list_unittests.exe', | 170 'app_list_unittests.exe', |
| 171 'base_unittests.exe', | 171 'base_unittests.exe', |
| 172 'cacheinvalidation_unittests.exe', | 172 'cacheinvalidation_unittests.exe', |
| 173 'chrome.exe', | 173 'chrome.exe', |
| 174 'chromedriver.exe', | 174 'chromedriver.exe', |
| 175 'chromedriver_tests.exe', | 175 'chromedriver_tests.exe', |
| 176 'chromedriver2_tests.exe', | 176 'chromedriver2_tests.exe', |
| 177 'chromedriver_unittests.exe', | 177 'chromedriver_unittests.exe', |
| 178 'chromedriver2_unittests.exe', | 178 'chromedriver2_unittests.exe', |
| 179 'chrome_frame_helper.exe', | |
| 180 'chrome_frame_net_tests.exe', | |
| 181 'chrome_frame_tests.exe', | |
| 182 'chrome_launcher.exe', | 179 'chrome_launcher.exe', |
| 183 'chrome_frame_unittests.exe', | |
| 184 'content_shell.exe', | 180 'content_shell.exe', |
| 185 'content_shell_crash_service.exe', | 181 'content_shell_crash_service.exe', |
| 186 'content_unittests.exe', | 182 'content_unittests.exe', |
| 187 'crash_service.exe', | 183 'crash_service.exe', |
| 188 'crypto_unittests.exe', | 184 'crypto_unittests.exe', |
| 189 'debug_message.exe', | 185 'debug_message.exe', |
| 190 'device_unittests.exe', | 186 'device_unittests.exe', |
| 191 'DumpRenderTree.exe', | 187 'DumpRenderTree.exe', |
| 192 'flush_cache.exe', | 188 'flush_cache.exe', |
| 193 'gl_tests.exe', | 189 'gl_tests.exe', |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 # we exit with an error code if they're not. | 253 # we exit with an error code if they're not. |
| 258 if KillAll(processes, must_die=True): | 254 if KillAll(processes, must_die=True): |
| 259 return rc | 255 return rc |
| 260 | 256 |
| 261 # Some processes were not killed, exit with non-zero status. | 257 # Some processes were not killed, exit with non-zero status. |
| 262 return 1 | 258 return 1 |
| 263 | 259 |
| 264 | 260 |
| 265 if '__main__' == __name__: | 261 if '__main__' == __name__: |
| 266 sys.exit(main()) | 262 sys.exit(main()) |
| OLD | NEW |