| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 'interactive_ui_tests.exe', | 191 'interactive_ui_tests.exe', |
| 192 'ipc_tests.exe', | 192 'ipc_tests.exe', |
| 193 'jingle_unittests.exe', | 193 'jingle_unittests.exe', |
| 194 'mediumtest_ie.exe', | 194 'mediumtest_ie.exe', |
| 195 'memory_test.exe', | 195 'memory_test.exe', |
| 196 'nacl64.exe', | 196 'nacl64.exe', |
| 197 'net_unittests.exe', | 197 'net_unittests.exe', |
| 198 'page_cycler_tests.exe', | 198 'page_cycler_tests.exe', |
| 199 'peerconnection_server.exe', | 199 'peerconnection_server.exe', |
| 200 'perf_tests.exe', | 200 'perf_tests.exe', |
| 201 'performance_ui_tests.exe', |
| 201 'printing_unittests.exe', | 202 'printing_unittests.exe', |
| 202 'reliability_tests.exe', | 203 'reliability_tests.exe', |
| 203 'sel_ldr.exe', | 204 'sel_ldr.exe', |
| 204 'sel_ldr64.exe', | 205 'sel_ldr64.exe', |
| 205 'selenium_tests.exe', | 206 'selenium_tests.exe', |
| 206 'startup_tests.exe', | 207 'startup_tests.exe', |
| 207 'sync_integration_tests.exe', | 208 'sync_integration_tests.exe', |
| 208 'tab_switching_test.exe', | 209 'tab_switching_test.exe', |
| 209 'tld_cleanup.exe', | 210 'tld_cleanup.exe', |
| 210 'unit_tests.exe', | 211 'unit_tests.exe', |
| (...skipping 39 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 rc | 253 return rc |
| 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 |