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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 'memory_test.exe', | 199 'memory_test.exe', |
200 'nacl64.exe', | 200 'nacl64.exe', |
201 'net_unittests.exe', | 201 'net_unittests.exe', |
202 'page_cycler_tests.exe', | 202 'page_cycler_tests.exe', |
203 'peerconnection_server.exe', | 203 'peerconnection_server.exe', |
204 'perf_tests.exe', | 204 'perf_tests.exe', |
205 'printing_unittests.exe', | 205 'printing_unittests.exe', |
206 'sel_ldr.exe', | 206 'sel_ldr.exe', |
207 'sel_ldr64.exe', | 207 'sel_ldr64.exe', |
208 'selenium_tests.exe', | 208 'selenium_tests.exe', |
| 209 'setup_unittests.exe', |
209 'startup_tests.exe', | 210 'startup_tests.exe', |
210 'sync_integration_tests.exe', | 211 'sync_integration_tests.exe', |
211 'tab_switching_test.exe', | 212 'tab_switching_test.exe', |
212 'tld_cleanup.exe', | 213 'tld_cleanup.exe', |
213 'unit_tests.exe', | 214 'unit_tests.exe', |
214 'v8_shell.exe', | 215 'v8_shell.exe', |
215 'v8_mksnapshot.exe', | 216 'v8_mksnapshot.exe', |
216 'v8_shell_sample.exe', | 217 'v8_shell_sample.exe', |
217 'wow_helper.exe', | 218 'wow_helper.exe', |
218 ] | 219 ] |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 # we exit with an error code if they're not. | 251 # we exit with an error code if they're not. |
251 if KillAll(processes, must_die=True): | 252 if KillAll(processes, must_die=True): |
252 return 0 | 253 return 0 |
253 | 254 |
254 # Some processes were not killed, exit with non-zero status. | 255 # Some processes were not killed, exit with non-zero status. |
255 return 1 | 256 return 1 |
256 | 257 |
257 | 258 |
258 if '__main__' == __name__: | 259 if '__main__' == __name__: |
259 sys.exit(main()) | 260 sys.exit(main()) |
OLD | NEW |