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

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

Issue 9369026: Remove test_wrapper.py, replace with test.py (which calls test.dart). (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 | « frog/presubmit.py ('k') | tools/testing/dart/test_suite.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) 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 def TestStep(name, mode, system, component, targets, flags): 73 def TestStep(name, mode, system, component, targets, flags):
74 print '@@@BUILD_STEP %s tests: %s %s@@@' % (name, component, flags) 74 print '@@@BUILD_STEP %s tests: %s %s@@@' % (name, component, flags)
75 sys.stdout.flush() 75 sys.stdout.flush()
76 if (component == 'frogium' or component == 'webdriver') and system == 'linux': 76 if (component == 'frogium' or component == 'webdriver') and system == 'linux':
77 cmd = ['xvfb-run', '-a'] 77 cmd = ['xvfb-run', '-a']
78 else: 78 else:
79 cmd = [] 79 cmd = []
80 80
81 cmd = (cmd 81 cmd = (cmd
82 + [sys.executable, 82 + [sys.executable,
83 os.path.join('..', 'tools', 'test_wrapper.py'), 83 os.path.join('..', 'tools', 'test.py'),
84 '--mode=' + mode, 84 '--mode=' + mode,
85 '--component=' + component, 85 '--component=' + component,
86 '--time', 86 '--time',
87 '--report', 87 '--report',
88 '--progress=buildbot', 88 '--progress=buildbot',
89 '-v'] 89 '-v']
90 + targets) 90 + targets)
91 if flags: 91 if flags:
92 cmd.extend(flags) 92 cmd.extend(flags)
93 93
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 179
180 status = TestFrog(arch, mode, system, browser, ['--checked']) 180 status = TestFrog(arch, mode, system, browser, ['--checked'])
181 if status != 0: 181 if status != 0:
182 print '@@@STEP_FAILURE@@@' 182 print '@@@STEP_FAILURE@@@'
183 183
184 return status 184 return status
185 185
186 186
187 if __name__ == '__main__': 187 if __name__ == '__main__':
188 sys.exit(main()) 188 sys.exit(main())
OLDNEW
« no previous file with comments | « frog/presubmit.py ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698