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

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

Issue 1399243006: Increase timeout for analysis_server tests in debug mode. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « pkg/pkg.status ('k') | tools/bots/pkg.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 Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be 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
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 '-v', '--time', '--use-sdk', '--report' 234 '-v', '--time', '--use-sdk', '--report'
235 ] 235 ]
236 236
237 if build_info.checked: 237 if build_info.checked:
238 cmd.append('--checked') 238 cmd.append('--checked')
239 239
240 cmd.extend(flags) 240 cmd.extend(flags)
241 cmd.extend(targets) 241 cmd.extend(targets)
242 242
243 print 'Running: %s' % (' '.join(map(lambda arg: '"%s"' % arg, cmd))) 243 print 'Running: %s' % (' '.join(map(lambda arg: '"%s"' % arg, cmd)))
244 sys.stdout.flush()
244 RunProcess(cmd) 245 RunProcess(cmd)
245 246
246 247
247 def RunTestRunner(build_info, path): 248 def RunTestRunner(build_info, path):
248 """ 249 """
249 Runs the test package's runner on the package at 'path'. 250 Runs the test package's runner on the package at 'path'.
250 """ 251 """
251 sdk_bin = os.path.join( 252 sdk_bin = os.path.join(
252 bot_utils.DART_DIR, 253 bot_utils.DART_DIR,
253 utils.GetBuildSdkBin(BUILD_OS, build_info.mode, build_info.arch)) 254 utils.GetBuildSdkBin(BUILD_OS, build_info.mode, build_info.arch))
(...skipping 30 matching lines...) Expand all
284 if exit_code != 0: 285 if exit_code != 0:
285 raise OSError(exit_code) 286 raise OSError(exit_code)
286 287
287 288
288 def GetStepName(name, flags): 289 def GetStepName(name, flags):
289 """ 290 """
290 Filters out flags with '=' as this breaks the /stats feature of the buildbot. 291 Filters out flags with '=' as this breaks the /stats feature of the buildbot.
291 """ 292 """
292 flags = [x for x in flags if not '=' in x] 293 flags = [x for x in flags if not '=' in x]
293 return ('%s tests %s' % (name, ' '.join(flags))).strip() 294 return ('%s tests %s' % (name, ' '.join(flags))).strip()
OLDNEW
« no previous file with comments | « pkg/pkg.status ('k') | tools/bots/pkg.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698