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

Side by Side Diff: chrome/test/nacl_test_injection/buildbot_chrome_nacl_stage.py

Issue 11613012: NaCl: Move all browser tests into nacl_irt_test_env (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rerun try Created 7 years, 11 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 | ppapi/native_client/chrome_main.scons » ('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 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Do all the steps required to build and test against nacl.""" 6 """Do all the steps required to build and test against nacl."""
7 7
8 8
9 import optparse 9 import optparse
10 import os.path 10 import os.path
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 'Microsoft Visual Studio 8.0\\Common7\\Tools\\') 210 'Microsoft Visual Studio 8.0\\Common7\\Tools\\')
211 else: 211 else:
212 # 32bit HOST 212 # 32bit HOST
213 env['VS90COMNTOOLS'] = ('c:\\Program Files\\Microsoft Visual Studio 9.0\\' 213 env['VS90COMNTOOLS'] = ('c:\\Program Files\\Microsoft Visual Studio 9.0\\'
214 'Common7\\Tools\\') 214 'Common7\\Tools\\')
215 env['VS80COMNTOOLS'] = ('c:\\Program Files\\Microsoft Visual Studio 8.0\\' 215 env['VS80COMNTOOLS'] = ('c:\\Program Files\\Microsoft Visual Studio 8.0\\'
216 'Common7\\Tools\\') 216 'Common7\\Tools\\')
217 217
218 # Run nacl/chrome integration tests. 218 # Run nacl/chrome integration tests.
219 # Note that we have to add nacl_irt_test to --mode in order to get 219 # Note that we have to add nacl_irt_test to --mode in order to get
220 # inbrowser_test_runner to run. 220 # the "_irt" variant of "chrome_browser_tests" to run.
221 # TODO(mseaborn): Change it so that inbrowser_test_runner is not a
222 # special case.
223 cmd = scons + ['--verbose', '-k', 'platform=x86-%d' % bits, 221 cmd = scons + ['--verbose', '-k', 'platform=x86-%d' % bits,
224 '--mode=opt-host,nacl,nacl_irt_test', 222 '--mode=opt-host,nacl,nacl_irt_test',
225 'chrome_browser_path=%s' % chrome_filename, 223 'chrome_browser_path=%s' % chrome_filename,
226 ] 224 ]
227 if not options.integration_bot and not options.morenacl_bot: 225 if not options.integration_bot and not options.morenacl_bot:
228 cmd.append('disable_flaky_tests=1') 226 cmd.append('disable_flaky_tests=1')
229 cmd.append('chrome_browser_tests') 227 cmd.append('chrome_browser_tests_irt')
230 228
231 # Download the toolchain(s). 229 # Download the toolchain(s).
232 if options.enable_pnacl: 230 if options.enable_pnacl:
233 pnacl_toolchain = [] 231 pnacl_toolchain = []
234 else: 232 else:
235 pnacl_toolchain = ['--no-pnacl'] 233 pnacl_toolchain = ['--no-pnacl']
236 RunCommand([python, 234 RunCommand([python,
237 os.path.join(nacl_dir, 'build', 'download_toolchains.py'), 235 os.path.join(nacl_dir, 'build', 'download_toolchains.py'),
238 '--no-arm-trusted'] + pnacl_toolchain + ['TOOL_REVISIONS'], 236 '--no-arm-trusted'] + pnacl_toolchain + ['TOOL_REVISIONS'],
239 nacl_dir, os.environ) 237 nacl_dir, os.environ)
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 else: 333 else:
336 options.enable_pnacl = 0 334 options.enable_pnacl = 0
337 335
338 if args: 336 if args:
339 parser.error('ERROR: invalid argument') 337 parser.error('ERROR: invalid argument')
340 BuildAndTest(options) 338 BuildAndTest(options)
341 339
342 340
343 if __name__ == '__main__': 341 if __name__ == '__main__':
344 Main() 342 Main()
OLDNEW
« no previous file with comments | « no previous file | ppapi/native_client/chrome_main.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698