Title: [88589] trunk/Tools
Revision
88589
Author
[email protected]
Date
2011-06-10 19:06:42 -0700 (Fri, 10 Jun 2011)

Log Message

2011-06-10  Lucas Forschler  <[email protected]>

        Reviewed by Stephanie Lewis.

        Script to kill old processes on Mac.
        This matches the windows version.
        https://bugs.webkit.org/show_bug.cgi?id=62479

        * BuildSlaveSupport/mac: Added.
        * BuildSlaveSupport/mac/kill-old-processes: Added.

Modified Paths

Added Paths

Diff

Added: trunk/Tools/BuildSlaveSupport/mac/kill-old-processes (0 => 88589)


--- trunk/Tools/BuildSlaveSupport/mac/kill-old-processes	                        (rev 0)
+++ trunk/Tools/BuildSlaveSupport/mac/kill-old-processes	2011-06-11 02:06:42 UTC (rev 88589)
@@ -0,0 +1,50 @@
+#!/usr/bin/python
+
+# Copyright (C) 2010 Apple Inc.  All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+# 1.  Redistributions of source code must retain the above copyright
+#     notice, this list of conditions and the following disclaimer. 
+# 2.  Redistributions in binary form must reproduce the above copyright
+#     notice, this list of conditions and the following disclaimer in the
+#     documentation and/or other materials provided with the distribution. 
+#
+# THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
+# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+# DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+import os, sys
+
+def main():
+    tasksToKill = [ "DumpRenderTree", 
+					"make",
+					"perl", 
+					"per5.12",
+					"ruby",
+					"Safari", 
+					"Safari Web Content",
+					"WebProcess"
+					"svn", 
+					"WebKitTestRunner",
+					"WebKitTestRunner Web Content",
+					"TestWebKitAPI",
+					"TestWebKitAPI Web Content",
+					"jsc",
+					"Problem Reporter",
+					"WebKitPluginAgen"]
+					
+    for task in tasksToKill:
+        os.system("killall -9 -v -m " + task)
+
+if __name__ == '__main__':
+    sys.exit(main())
Property changes on: trunk/Tools/BuildSlaveSupport/mac/kill-old-processes
___________________________________________________________________

Added: svn:executable

Modified: trunk/Tools/ChangeLog (88588 => 88589)


--- trunk/Tools/ChangeLog	2011-06-11 02:04:32 UTC (rev 88588)
+++ trunk/Tools/ChangeLog	2011-06-11 02:06:42 UTC (rev 88589)
@@ -1,3 +1,14 @@
+2011-06-10  Lucas Forschler  <[email protected]>
+
+        Reviewed by Stephanie Lewis.
+
+        Script to kill old processes on Mac.
+        This matches the windows version.
+        https://bugs.webkit.org/show_bug.cgi?id=62479  
+        
+        * BuildSlaveSupport/mac: Added.
+        * BuildSlaveSupport/mac/kill-old-processes: Added.
+
 2011-06-10  Adam Barth  <[email protected]>
 
         Reviewed by James Robinson.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to