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', |
185 'crypto_unittests.exe', | 186 'crypto_unittests.exe', |
186 'debug_message.exe', | 187 'debug_message.exe', |
187 'device_unittests.exe', | 188 'device_unittests.exe', |
188 'DumpRenderTree.exe', | 189 'DumpRenderTree.exe', |
189 'flush_cache.exe', | 190 'flush_cache.exe', |
190 'gl_tests.exe', | 191 'gl_tests.exe', |
191 'ie_unittests.exe', | 192 'ie_unittests.exe', |
192 'image_diff.exe', | 193 'image_diff.exe', |
193 'installer_util_unittests.exe', | 194 'installer_util_unittests.exe', |
194 'interactive_ui_tests.exe', | 195 'interactive_ui_tests.exe', |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 # we exit with an error code if they're not. | 250 # we exit with an error code if they're not. |
250 if KillAll(processes, must_die=True): | 251 if KillAll(processes, must_die=True): |
251 return 0 | 252 return 0 |
252 | 253 |
253 # Some processes were not killed, exit with non-zero status. | 254 # Some processes were not killed, exit with non-zero status. |
254 return 1 | 255 return 1 |
255 | 256 |
256 | 257 |
257 if '__main__' == __name__: | 258 if '__main__' == __name__: |
258 sys.exit(main()) | 259 sys.exit(main()) |
OLD | NEW |