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

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

Issue 10800084: Remove non-streaming translation code from pnacl coordinator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/env python 1 #!/usr/bin/env python
Derek Schuff 2012/07/23 21:02:04 this is just to make the chrome trybots run pnacl.
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 import os 6 import os
7 import subprocess 7 import subprocess
8 import sys 8 import sys
9 9
10 10
11 def Main(args): 11 def Main(args):
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 if sys.platform in ('win32', 'cygwin'): 64 if sys.platform in ('win32', 'cygwin'):
65 tests_to_disable.append('run_ppapi_ppp_input_event_browser_test') 65 tests_to_disable.append('run_ppapi_ppp_input_event_browser_test')
66 66
67 script_dir = os.path.dirname(os.path.abspath(__file__)) 67 script_dir = os.path.dirname(os.path.abspath(__file__))
68 test_dir = os.path.dirname(script_dir) 68 test_dir = os.path.dirname(script_dir)
69 chrome_dir = os.path.dirname(test_dir) 69 chrome_dir = os.path.dirname(test_dir)
70 src_dir = os.path.dirname(chrome_dir) 70 src_dir = os.path.dirname(chrome_dir)
71 nacl_integration_script = os.path.join( 71 nacl_integration_script = os.path.join(
72 src_dir, 'native_client/build/buildbot_chrome_nacl_stage.py') 72 src_dir, 'native_client/build/buildbot_chrome_nacl_stage.py')
73 os.environ['NACL_STREAMING_TRANSLATION'] = 'true'
73 cmd = [sys.executable, 74 cmd = [sys.executable,
74 '/b/build/scripts/slave/runtest.py', 75 '/b/build/scripts/slave/runtest.py',
75 '--run-python-script', 76 '--run-python-script',
76 '--target=', 77 '--target=',
77 '--build-dir=', 78 '--build-dir=',
78 '--', 79 '--',
79 nacl_integration_script, 80 nacl_integration_script,
80 # TODO(ncbray) re-enable. 81 # TODO(ncbray) re-enable.
81 # https://code.google.com/p/chromium/issues/detail?id=133568 82 # https://code.google.com/p/chromium/issues/detail?id=133568
82 '--disable_glibc', 83 '--disable_glibc',
84 '--integration_bot=1',
83 '--disable_tests=%s' % ','.join(tests_to_disable)] 85 '--disable_tests=%s' % ','.join(tests_to_disable)]
84 cmd += args 86 cmd += args
85 sys.stdout.write('Running %s\n' % ' '.join(cmd)) 87 sys.stdout.write('Running %s\n' % ' '.join(cmd))
86 sys.stdout.flush() 88 sys.stdout.flush()
87 return subprocess.call(cmd) 89 return subprocess.call(cmd)
88 90
89 91
90 if __name__ == '__main__': 92 if __name__ == '__main__':
91 sys.exit(Main(sys.argv[1:])) 93 sys.exit(Main(sys.argv[1:]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698