Changeset 195587 in webkit
- Timestamp:
- Jan 26, 2016 7:47:54 AM (8 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/kill-old-processes
r194273 r195587 108 108 ] 109 109 110 # This allows to specify on the environment of the bot a list of process that should be killed. 111 tasksToKill = os.getenv("WEBKITBOT_TASKSTOKILL", "").split() 110 112 if sys.platform == 'darwin': 111 for task in tasksToKill Mac:113 for task in tasksToKill + tasksToKillMac: 112 114 os.system("killall -9 -v -m " + task) 113 115 # Kill all instances of python executing run-webkit-tests 114 116 os.system("ps aux | grep -E '.+/Python .+(run_webkit_tests|run-webkit-tests|mod_pywebsocket)' | grep -v grep | awk '{print $2}' | xargs kill") 115 117 elif sys.platform == 'cygwin' or sys.platform == 'win32': 116 for task in tasksToKill Win:118 for task in tasksToKill + tasksToKillWin: 117 119 os.system("taskkill /t /f /im " + task) 118 120 elif sys.platform.startswith('linux'): 119 for task in task ToKillUnix:121 for task in tasksToKill + taskToKillUnix: 120 122 os.system("killall -9 -v " + task) 121 123 os.system("ps aux | grep -P '.+/python .+(run_webkit_tests|run-webkit-tests|mod_pywebsocket)' | grep -v grep | awk '{print $2}' | xargs kill") -
trunk/Tools/ChangeLog
r195579 r195587 1 2016-01-26 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 3 kill-old-processes: allow to specify on the environment of the bot a list of process that should be killed. 4 https://bugs.webkit.org/show_bug.cgi?id=153483 5 6 Reviewed by Csaba Osztrogonác. 7 8 * BuildSlaveSupport/kill-old-processes: 9 (main): Allow to specify extra tasks to kill via the environment variable WEBKITBOT_TASKSTOKILL 10 1 11 2016-01-25 Simon Fraser <simon.fraser@apple.com> 2 12
Note: See TracChangeset
for help on using the changeset viewer.