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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 'midlc.exe', | 167 'midlc.exe', |
168 | 168 |
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 'chromedriver2_unittests.exe', | 178 'chromedriver2_unittests.exe', |
178 'chrome_frame_helper.exe', | 179 'chrome_frame_helper.exe', |
179 'chrome_frame_net_tests.exe', | 180 'chrome_frame_net_tests.exe', |
180 'chrome_frame_tests.exe', | 181 'chrome_frame_tests.exe', |
181 'chrome_launcher.exe', | 182 'chrome_launcher.exe', |
182 'chrome_frame_unittests.exe', | 183 'chrome_frame_unittests.exe', |
183 'content_shell.exe', | 184 'content_shell.exe', |
184 'content_shell_crash_service.exe', | 185 'content_shell_crash_service.exe', |
185 'content_unittests.exe', | 186 'content_unittests.exe', |
186 'crash_service.exe', | 187 'crash_service.exe', |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 # we exit with an error code if they're not. | 257 # we exit with an error code if they're not. |
257 if KillAll(processes, must_die=True): | 258 if KillAll(processes, must_die=True): |
258 return rc | 259 return rc |
259 | 260 |
260 # Some processes were not killed, exit with non-zero status. | 261 # Some processes were not killed, exit with non-zero status. |
261 return 1 | 262 return 1 |
262 | 263 |
263 | 264 |
264 if '__main__' == __name__: | 265 if '__main__' == __name__: |
265 sys.exit(main()) | 266 sys.exit(main()) |
OLD | NEW |