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

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

Issue 9813012: Add "mock" compilation feature to dart2js and use it to improve test coverage. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 8 years, 9 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
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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 # TODO(jmesserly): make DumpRenderTree more like other browser tests, so 173 # TODO(jmesserly): make DumpRenderTree more like other browser tests, so
174 # we don't have this translation step. See dartbug.com/1158. 174 # we don't have this translation step. See dartbug.com/1158.
175 # Ideally we can run most Chrome tests in DumpRenderTree because it's more 175 # Ideally we can run most Chrome tests in DumpRenderTree because it's more
176 # debuggable, but still have some tests run the full browser. 176 # debuggable, but still have some tests run the full browser.
177 # Also: we don't have DumpRenderTree on Windows yet 177 # Also: we don't have DumpRenderTree on Windows yet
178 # TODO(efortuna): Move Mac back to DumpRenderTree when we have a more stable 178 # TODO(efortuna): Move Mac back to DumpRenderTree when we have a more stable
179 # solution for DRT. Right now DRT is flakier than regular Chrome for the 179 # solution for DRT. Right now DRT is flakier than regular Chrome for the
180 # isolate tests, so we're switching to use Chrome in the short term. 180 # isolate tests, so we're switching to use Chrome in the short term.
181 if browser == 'chrome' and system == 'linux': 181 if browser == 'chrome' and system == 'linux':
182 TestStep('browser', mode, system, 'frogium', tests, flags) 182 TestStep('browser', mode, system, 'frogium', tests, flags)
183 TestStep('browser', mode, system, 'legium', tests, flags) 183 TestStep('browser', mode, system, 'legium', [], flags)
184 TestStep('browser', mode, system, 'legium_extra',
185 ['leg_only', 'frog_native'], flags)
184 else: 186 else:
185 additional_flags = ['--browser=' + browser] 187 additional_flags = ['--browser=' + browser]
186 if system.startswith('win') and browser == 'ie': 188 if system.startswith('win') and browser == 'ie':
187 # There should not be more than one InternetExplorerDriver instance 189 # There should not be more than one InternetExplorerDriver instance
188 # running at a time. For details, see 190 # running at a time. For details, see
189 # http://code.google.com/p/selenium/wiki/InternetExplorerDriver. 191 # http://code.google.com/p/selenium/wiki/InternetExplorerDriver.
190 additional_flags += ['-j1'] 192 additional_flags += ['-j1']
191 TestStep(browser, mode, system, 'webdriver', tests, 193 TestStep(browser, mode, system, 'webdriver', tests,
192 flags + additional_flags) 194 flags + additional_flags)
193 195
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 if status != 0: 262 if status != 0:
261 print '@@@STEP_FAILURE@@@' 263 print '@@@STEP_FAILURE@@@'
262 264
263 if component == 'frogium': 265 if component == 'frogium':
264 CleanUpTemporaryFiles(system, browser) 266 CleanUpTemporaryFiles(system, browser)
265 return status 267 return status
266 268
267 269
268 if __name__ == '__main__': 270 if __name__ == '__main__':
269 sys.exit(main()) 271 sys.exit(main())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698