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

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

Issue 2914233002: Allow test.py to run dartdoc tests. Run dartdoc tests on pub bots. (Closed)
Patch Set: Created 3 years, 6 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 | « no previous file | tools/testing/dart/test_configurations.dart » ('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 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 19 matching lines...) Expand all
30 return None 30 return None
31 31
32 system = pub_pattern.group(1) 32 system = pub_pattern.group(1)
33 mode = 'release' 33 mode = 'release'
34 if system == 'win': system = 'windows' 34 if system == 'win': system = 'windows'
35 35
36 return bot.BuildInfo('none', 'vm', mode, system, checked=True, arch='x64') 36 return bot.BuildInfo('none', 'vm', mode, system, checked=True, arch='x64')
37 37
38 def PubSteps(build_info): 38 def PubSteps(build_info):
39 pub_location = os.path.join('third_party', 'pkg', 'pub') 39 pub_location = os.path.join('third_party', 'pkg', 'pub')
40
41 with bot.BuildStep('Running pub tests'): 40 with bot.BuildStep('Running pub tests'):
42 bot.RunTestRunner(build_info, pub_location) 41 bot.RunTestRunner(build_info, pub_location)
43 42
43 dartdoc_location = os.path.join('third_party', 'pkg', 'dartdoc')
44 with bot.BuildStep('Running dartdoc tests'):
45 bot.RunTestRunner(build_info, dartdoc_location)
46
44 if __name__ == '__main__': 47 if __name__ == '__main__':
45 bot.RunBot(PubConfig, PubSteps) 48 bot.RunBot(PubConfig, PubSteps)
OLDNEW
« no previous file with comments | « no previous file | tools/testing/dart/test_configurations.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698