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

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

Issue 424093003: Run with a bigger timeout for pub/pkg tests. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 Pub buildbot steps. 8 Pub buildbot steps.
9 9
10 Runs tests for pub and the pub packages that are hosted in the main Dart repo. 10 Runs tests for pub and the pub packages that are hosted in the main Dart repo.
(...skipping 29 matching lines...) Expand all
40 with bot.BuildStep('Build package-root'): 40 with bot.BuildStep('Build package-root'):
41 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 41 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
42 'packages'] 42 'packages']
43 print 'Building package-root: %s' % (' '.join(args)) 43 print 'Building package-root: %s' % (' '.join(args))
44 bot.RunProcess(args) 44 bot.RunProcess(args)
45 45
46 common_args = ['--write-test-outcome-log'] 46 common_args = ['--write-test-outcome-log']
47 if build_info.builder_tag: 47 if build_info.builder_tag:
48 common_args.append('--builder-tag=%s' % build_info.builder_tag) 48 common_args.append('--builder-tag=%s' % build_info.builder_tag)
49 49
50 # There are a number of big/integration tests in pkg, run with bigger timeout
51 common_args.append('--timeout=120')
50 52
51 opt_threshold = '--vm-options=--optimization-counter-threshold=5' 53 opt_threshold = '--vm-options=--optimization-counter-threshold=5'
52 if build_info.mode == 'release': 54 if build_info.mode == 'release':
53 bot.RunTest('pub and pkg ', build_info, 55 bot.RunTest('pub and pkg ', build_info,
54 common_args + ['pub', 'pkg', 'docs'], 56 common_args + ['pub', 'pkg', 'docs'],
55 swallow_error=True) 57 swallow_error=True)
56 bot.RunTest('pub and pkg optimization counter thresshold 5', build_info, 58 bot.RunTest('pub and pkg optimization counter thresshold 5', build_info,
57 common_args + ['--append_logs', opt_threshold, 59 common_args + ['--append_logs', opt_threshold,
58 'pub', 'pkg', 'docs'], 60 'pub', 'pkg', 'docs'],
59 swallow_error=True) 61 swallow_error=True)
(...skipping 17 matching lines...) Expand all
77 # We are seeing issues with pub get calls on the windows bots. 79 # We are seeing issues with pub get calls on the windows bots.
78 # Experiment with not running concurrent calls. 80 # Experiment with not running concurrent calls.
79 public_args = (common_args + 81 public_args = (common_args +
80 ['--append_logs', '--use-public-packages', 'pkgbuild']) 82 ['--append_logs', '--use-public-packages', 'pkgbuild'])
81 if build_info.system == 'windows': 83 if build_info.system == 'windows':
82 public_args.append('-j1') 84 public_args.append('-j1')
83 bot.RunTest('pkgbuild_public_pkgs', pkgbuild_build_info, public_args) 85 bot.RunTest('pkgbuild_public_pkgs', pkgbuild_build_info, public_args)
84 86
85 if __name__ == '__main__': 87 if __name__ == '__main__':
86 bot.RunBot(PubConfig, PubSteps) 88 bot.RunBot(PubConfig, PubSteps)
OLDNEW
« 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