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

Side by Side Diff: frog/scripts/buildbot_annotated_steps.py

Issue 9447045: Hook up dartdoc tests to the frog buildbot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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 | utils/tests/dartdoc/dartdoc.status » ('j') | utils/tests/dartdoc/dartdoc.status » ('J')
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) 2011 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """Dart frog buildbot steps 7 """Dart frog buildbot steps
8 8
9 Runs tests for the frog compiler (running on the vm or the self-hosting version) 9 Runs tests for the frog compiler (running on the vm or the self-hosting version)
10 """ 10 """
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 - flags: extra flags to pass to test.dart 117 - flags: extra flags to pass to test.dart
118 """ 118 """
119 119
120 # Make sure we are in the frog directory 120 # Make sure we are in the frog directory
121 os.chdir(FROG_PATH) 121 os.chdir(FROG_PATH)
122 122
123 if arch != 'frogium': # frog and frogsh 123 if arch != 'frogium': # frog and frogsh
124 TestStep("frog", mode, system, arch, [], flags) 124 TestStep("frog", mode, system, arch, [], flags)
125 TestStep("frog_extra", mode, system, 125 TestStep("frog_extra", mode, system,
126 arch, ['frog', 'frog_native', 'peg', 'css'], flags) 126 arch, ['frog', 'frog_native', 'peg', 'css'], flags)
127 TestStep("sdk", mode, system,
128 'vm', ['dartdoc'], flags)
127 129
128 if not '--checked' in flags: 130 if not '--checked' in flags:
129 TestStep("leg", mode, system, 'leg', [], flags) 131 TestStep("leg", mode, system, 'leg', [], flags)
130 TestStep("leg_extra", mode, system, 'leg', 132 TestStep("leg_extra", mode, system, 'leg',
131 ['leg_only', 'frog_native'], flags) 133 ['leg_only', 'frog_native'], flags)
132 # Leg isn't self-hosted (yet) so we run the leg unit tests on the VM. 134 # Leg isn't self-hosted (yet) so we run the leg unit tests on the VM.
133 TestStep("leg_extra", mode, system, 'vm', ['leg'], flags) 135 TestStep("leg_extra", mode, system, 'vm', ['leg'], flags)
134 136
135 else: 137 else:
136 tests = ['client', 'language', 'corelib', 'isolate', 'frog', 138 tests = ['client', 'language', 'corelib', 'isolate', 'frog',
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 183
182 status = TestFrog(arch, mode, system, browser, ['--checked']) 184 status = TestFrog(arch, mode, system, browser, ['--checked'])
183 if status != 0: 185 if status != 0:
184 print '@@@STEP_FAILURE@@@' 186 print '@@@STEP_FAILURE@@@'
185 187
186 return status 188 return status
187 189
188 190
189 if __name__ == '__main__': 191 if __name__ == '__main__':
190 sys.exit(main()) 192 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | utils/tests/dartdoc/dartdoc.status » ('j') | utils/tests/dartdoc/dartdoc.status » ('J')

Powered by Google App Engine
This is Rietveld 408576698