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

Side by Side Diff: tools/bots/bot.py

Issue 11260052: Fix copyright for bot scripts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/bots/android.py ('k') | tools/bots/compiler.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 2
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 # Use of this source code is governed by a BSD-style license that can be 4 # for details. All rights reserved. Use of this source code is governed by a
5 # found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 6
7 """ 7 """
8 Shared code for use in the buildbot scripts. 8 Shared code for use in the buildbot scripts.
9 """ 9 """
10 10
11 import optparse 11 import optparse
12 import os 12 import os
13 from os.path import abspath 13 from os.path import abspath
14 from os.path import dirname 14 from os.path import dirname
15 import subprocess 15 import subprocess
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 if exit_code != 0: 230 if exit_code != 0:
231 raise OSError(exit_code) 231 raise OSError(exit_code)
232 232
233 233
234 def GetStepName(name, flags): 234 def GetStepName(name, flags):
235 """ 235 """
236 Filters out flags with '=' as this breaks the /stats feature of the buildbot. 236 Filters out flags with '=' as this breaks the /stats feature of the buildbot.
237 """ 237 """
238 flags = [x for x in flags if not '=' in x] 238 flags = [x for x in flags if not '=' in x]
239 return ('%s tests %s' % (name, ' '.join(flags))).strip() 239 return ('%s tests %s' % (name, ' '.join(flags))).strip()
OLDNEW
« no previous file with comments | « tools/bots/android.py ('k') | tools/bots/compiler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698