Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Unified Diff: tools/task_kill.py

Issue 259963007: Add git and svn to task_kill which we run on the bots. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/task_kill.py
===================================================================
--- tools/task_kill.py (revision 35364)
+++ tools/task_kill.py (working copy)
@@ -28,20 +28,26 @@
'content_shell': 'content_shell.exe',
'dart': 'dart.exe',
'iexplore': 'iexplore.exe',
- 'firefox': 'firefox.exe'
+ 'firefox': 'firefox.exe',
+ 'git': 'git.exe',
+ 'svn': 'svn.exe'
},
'linux': {
'chrome': 'chrome',
'content_shell': 'content_shell',
'dart': 'dart',
- 'firefox': 'firefox.exe'
+ 'firefox': 'firefox.exe',
+ 'git': 'git',
+ 'svn': 'svn'
},
'macos': {
'chrome': 'Chrome',
'content_shell': 'Content Shell',
'dart': 'dart',
'firefox': 'firefox',
- 'safari': 'Safari'
+ 'safari': 'Safari',
+ 'git': 'git',
+ 'svn': 'svn'
}
}
@@ -55,6 +61,8 @@
parser = optparse.OptionParser("usage: %prog [options]")
parser.add_option("--kill_dart", default=True,
help="Kill all dart processes")
+ parser.add_option("--kill_vc", default=True,
+ help="Kill all git and svn processes")
parser.add_option("--kill_browsers", default=False,
help="Kill all browser processes")
(options, args) = parser.parse_args()
@@ -170,6 +178,11 @@
status += Kill('content_shell')
return status
+def KillVCSystems():
+ status = Kill('git')
+ status += Kill('svn')
+ return status
+
def KillDart():
status = Kill("dart")
return status
@@ -179,6 +192,8 @@
status = 0
if (options.kill_dart):
status += KillDart();
+ if (options.kill_vc):
+ status += KillVCSystems();
if (options.kill_browsers):
status += KillBrowsers()
return status
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698