Changeset 88857 in webkit


Ignore:
Timestamp:
Jun 14, 2011 3:23:36 PM (13 years ago)
Author:
Lucas Forschler
Message:

2011-06-14 Lucas Forschler <Lucas Forschler>

Reviewed by Stephanie Lewis.

https://bugs.webkit.org/show_bug.cgi?id=62495
Bug 62495 - combine windows and mac kill-old-processes script
Add a platform agnostic script. Remove the recently added mac flavor.
Note: Leaving the windows one alone, since it is currently used by the WebKit bots.

  • BuildSlaveSupport/kill-old-processes: Added.
  • BuildSlaveSupport/mac: Removed.
  • BuildSlaveSupport/mac/kill-old-processes: Removed.
Location:
trunk/Tools
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/kill-old-processes

    r88856 r88857  
    2727
    2828def main():
    29     tasksToKill = [ "DumpRenderTree",
     29
     30    tasksToKillWin = [ "cl.exe",
     31                                        "devenv.com",
     32                                        "devenv.exe",
     33                                        "DumpRenderTree.exe",
     34                                        "DumpRenderTree_debug.exe",
     35                                        "httpd.exe",
     36                                        "imagediff.exe",
     37                                        "imagediff_debug.exe",
     38                                        "jsc.exe",
     39                                        "jsc_debug.exe",
     40                                        "LightTPD.exe",
     41                                        "link.exe",
     42                                        "midl.exe",
     43                                        "perl.exe",
     44                                        "Safari.exe",
     45                                        "svn.exe",
     46                                        "testapi.exe",
     47                                        "testapi_debug.exe",
     48                                        "VcBuildHelper.exe",
     49                                        "wdiff.exe",
     50                                        "WebKit2WebProcess.exe",
     51                                        "WebKit2WebProcess_debug.exe",
     52                                        "WebKitTestRunner.exe",
     53                                        "WebKitTestRunner_debug.exe" ]
     54
     55    tasksToKillMac = [ "DumpRenderTree",
    3056                                        "make",
    3157                                        "perl",
     
    4268                                        "jsc",
    4369                                        "Problem Reporter",
    44                                         "WebKitPluginAgen"]
    45                                        
    46     for task in tasksToKill:
    47         os.system("killall -9 -v -m " + task)
     70                                        "WebKitPluginAgen" ]
     71
     72    if sys.platform == 'darwin':
     73        for task in tasksToKillMac:
     74            os.system("killall -9 -v -m " + task)
     75    elif sys.platform == 'cygwin' or sys.platform == 'win32':
     76        for task in tasksToKillWin:
     77            os.system("taskkill /t /f /im " + task)
     78    else:
     79        raise Exception("Have not implemented kill-old-processes for this platform") 
    4880
    4981if __name__ == '__main__':
  • trunk/Tools/ChangeLog

    r88848 r88857  
     12011-06-14  Lucas Forschler  <lforschler@apple.com>
     2
     3        Reviewed by Stephanie Lewis.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=62495
     6        Bug 62495 - combine windows and mac kill-old-processes script
     7        Add a platform agnostic script.  Remove the recently added mac flavor.
     8        Note: Leaving the windows one alone, since it is currently used by the WebKit bots.
     9       
     10        * BuildSlaveSupport/kill-old-processes: Added.
     11        * BuildSlaveSupport/mac: Removed.
     12        * BuildSlaveSupport/mac/kill-old-processes: Removed.
     13
    1142011-06-14  Dirk Pranke  <dpranke@chromium.org>
    215
Note: See TracChangeset for help on using the changeset viewer.