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

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

Issue 2070513002: Revert "Revert "Make Safari tests more robust."" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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 | « tests/html/html.status ('k') | tools/safari_factory_reset.py » ('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 Dart2js buildbot steps 8 Dart2js buildbot steps
9 9
10 Runs tests for the dart2js compiler. 10 Runs tests for the dart2js compiler.
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 '--use-sdk', 195 '--use-sdk',
196 '--report', 196 '--report',
197 '--write-debug-log', 197 '--write-debug-log',
198 '--write-test-outcome-log']) 198 '--write-test-outcome-log'])
199 199
200 if user_test == 'yes': 200 if user_test == 'yes':
201 cmd.append('--progress=color') 201 cmd.append('--progress=color')
202 else: 202 else:
203 cmd.extend(['--progress=buildbot', '-v']) 203 cmd.extend(['--progress=buildbot', '-v'])
204 204
205 cmd.append('--clear_browser_cache') 205 cmd.append('--reset-browser-configuration')
206 206
207 global IsFirstTestStepCall 207 global IsFirstTestStepCall
208 if IsFirstTestStepCall: 208 if IsFirstTestStepCall:
209 IsFirstTestStepCall = False 209 IsFirstTestStepCall = False
210 else: 210 else:
211 cmd.append('--append_logs') 211 cmd.append('--append_logs')
212 212
213 if flags: 213 if flags:
214 cmd.extend(flags) 214 cmd.extend(flags)
215 cmd.extend(targets) 215 cmd.extend(targets)
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 if build_info.mode == 'debug': 411 if build_info.mode == 'debug':
412 target = 'dart2js_bot_debug' 412 target = 'dart2js_bot_debug'
413 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode, 413 args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
414 '--arch=' + build_info.arch, target] 414 '--arch=' + build_info.arch, target]
415 print 'Build SDK and d8: %s' % (' '.join(args)) 415 print 'Build SDK and d8: %s' % (' '.join(args))
416 bot.RunProcess(args) 416 bot.RunProcess(args)
417 417
418 418
419 if __name__ == '__main__': 419 if __name__ == '__main__':
420 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler) 420 bot.RunBot(GetBuildInfo, RunCompilerTests, build_step=BuildCompiler)
OLDNEW
« no previous file with comments | « tests/html/html.status ('k') | tools/safari_factory_reset.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698