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

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

Issue 8523027: Enable frogium test in bots, and fix checked mode on co19 tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 9 years, 1 month 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 | tests/co19/co19-frog.status » ('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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 cmd = [sys.executable, 88 cmd = [sys.executable,
89 '../tools/test.py', 89 '../tools/test.py',
90 '--mode=' + testpy_mode, 90 '--mode=' + testpy_mode,
91 '--component=leg', 91 '--component=leg',
92 '--time', 92 '--time',
93 '--report', 93 '--report',
94 '--progress=buildbot', 94 '--progress=buildbot',
95 '-v', 95 '-v',
96 'leg_only'] 96 'leg_only']
97 if flags: 97 if flags:
98 cmd.append('--flag=' + flags) 98 cmd.append(flags)
99 99
100 status = subprocess.call(cmd) 100 status = subprocess.call(cmd)
101 if status != 0: 101 if status != 0:
102 return status 102 return status
103 103
104 if arch == 'frogsh':
105 print ('@@@BUILD_STEP client browser tests@@@')
106 cmd = ['xvfb-run', sys.executable,
107 '../tools/test.py',
108 '--mode=' + testpy_mode,
109 '--component=frogium',
110 '--time',
111 '--report',
112 '--progress=buildbot',
113 '-v',
114 'client']
115 if flags:
116 cmd.append(flags)
ngeoffray 2011/11/11 09:55:58 The number of steps are getting out of control. We
117
118 status = subprocess.call(cmd)
119 if status != 0:
120 return status
121
104 print ('@@@BUILD_STEP frog co19 tests: %s@@@' %arch) 122 print ('@@@BUILD_STEP frog co19 tests: %s@@@' %arch)
105 cmd = [sys.executable, 123 cmd = [sys.executable,
106 '../tools/test.py', 124 '../tools/test.py',
107 '--mode=' + testpy_mode, 125 '--mode=' + testpy_mode,
108 '--component=' + arch, 126 '--component=' + arch,
109 '--time', 127 '--time',
110 '--report', 128 '--report',
111 '--progress=buildbot', 129 '--progress=buildbot',
112 '-v', 130 '-v',
113 'co19'] 131 'co19']
114 if flags: 132 if flags:
115 cmd.append('--flag=' + flags) 133 cmd.append(flags)
116 134
117 return subprocess.call(cmd) 135 return subprocess.call(cmd)
118 136
119 def main(): 137 def main():
120 print 'main' 138 print 'main'
121 if len(sys.argv) == 0: 139 if len(sys.argv) == 0:
122 print 'Script pathname not known, giving up.' 140 print 'Script pathname not known, giving up.'
123 return 1 141 return 1
124 142
125 arch, mode = GetBuildInfo() 143 arch, mode = GetBuildInfo()
126 print "arch: %s, mode: %s" % (arch, mode) 144 print "arch: %s, mode: %s" % (arch, mode)
127 if arch is None: 145 if arch is None:
128 return 1 146 return 1
129 147
130 status = TestFrog(arch, mode) 148 status = TestFrog(arch, mode)
131 if status != 0: 149 if status != 0:
132 print '@@@STEP_FAILURE@@@' 150 print '@@@STEP_FAILURE@@@'
133 return status 151 return status
134 152
135 153
136 if __name__ == '__main__': 154 if __name__ == '__main__':
137 sys.exit(main()) 155 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | tests/co19/co19-frog.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698