https://bugs.webkit.org/show_bug.cgi?id=69976
Reviewed by Dirk Pranke.
Add a system call to remove all python processes running run-webkit-tests.
* BuildSlaveSupport/kill-old-processes:
* BuildSlaveSupport/mac: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@97330
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
]\r
\r
tasksToKillMac = [\r
- "httpd", # This shouldn't be needed, except currently there are bugs in NRWT's http locking code.\r
"jsc",\r
"make",\r
"per5.12",\r
if sys.platform == 'darwin':\r
for task in tasksToKillMac:\r
os.system("killall -9 -v -m " + task)\r
+ # Kill all instances of python executing run-webkit-tests\r
+ os.system("ps aux | grep -P '.+/Python .+(run_webkit_tests|run-webkit-tests)' | grep -v grep | awk '{print $2}' | xargs kill")\r
elif sys.platform == 'cygwin' or sys.platform == 'win32':\r
for task in tasksToKillWin:\r
os.system("taskkill /t /f /im " + task)\r
+2011-10-12 Ryosuke Niwa <rniwa@webkit.org>
+
+ Kill old run-webkit-tests processes in kill-process on Mac
+ https://bugs.webkit.org/show_bug.cgi?id=69976
+
+ Reviewed by Dirk Pranke.
+
+ Add a system call to remove all python processes running run-webkit-tests.
+
+ * BuildSlaveSupport/kill-old-processes:
+ * BuildSlaveSupport/mac: Removed.
+
2011-10-12 Simon Fraser <simon.fraser@apple.com>
Many WK2 snapshots are blank