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

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

Issue 9688017: NaCl: Disable hardware exception test in advance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | no next file » | 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/env python 1 #!/usr/bin/env 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 import os 6 import os
7 import subprocess 7 import subprocess
8 import sys 8 import sys
9 9
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 ]) 73 ])
74 74
75 if sys.platform == 'darwin': 75 if sys.platform == 'darwin':
76 # TODO(mseaborn) fix 76 # TODO(mseaborn) fix
77 # http://code.google.com/p/nativeclient/issues/detail?id=1835 77 # http://code.google.com/p/nativeclient/issues/detail?id=1835
78 tests_to_disable.append('run_ppapi_crash_browser_test') 78 tests_to_disable.append('run_ppapi_crash_browser_test')
79 79
80 if sys.platform in ('win32', 'cygwin'): 80 if sys.platform in ('win32', 'cygwin'):
81 tests_to_disable.append('run_ppapi_ppp_input_event_browser_test') 81 tests_to_disable.append('run_ppapi_ppp_input_event_browser_test')
82 82
83 # TODO(mseaborn): Remove this when exception handling works inside
84 # Chromium. See http://code.google.com/p/nativeclient/issues/detail?id=2602
85 tests_to_disable.append('run_inbrowser_exception_test')
86
83 script_dir = os.path.dirname(os.path.abspath(__file__)) 87 script_dir = os.path.dirname(os.path.abspath(__file__))
84 test_dir = os.path.dirname(script_dir) 88 test_dir = os.path.dirname(script_dir)
85 chrome_dir = os.path.dirname(test_dir) 89 chrome_dir = os.path.dirname(test_dir)
86 src_dir = os.path.dirname(chrome_dir) 90 src_dir = os.path.dirname(chrome_dir)
87 nacl_integration_script = os.path.join( 91 nacl_integration_script = os.path.join(
88 src_dir, 'native_client/build/buildbot_chrome_nacl_stage.py') 92 src_dir, 'native_client/build/buildbot_chrome_nacl_stage.py')
89 cmd = [sys.executable, 93 cmd = [sys.executable,
90 '/b/build/scripts/slave/runtest.py', 94 '/b/build/scripts/slave/runtest.py',
91 '--run-python-script', 95 '--run-python-script',
92 '--target=', 96 '--target=',
93 '--build-dir=', 97 '--build-dir=',
94 '--', 98 '--',
95 nacl_integration_script, 99 nacl_integration_script,
96 '--disable_tests=%s' % ','.join(tests_to_disable)] 100 '--disable_tests=%s' % ','.join(tests_to_disable)]
97 if not is_integration_bot: 101 if not is_integration_bot:
98 if sys.platform in ('win32', 'cygwin'): 102 if sys.platform in ('win32', 'cygwin'):
99 # http://code.google.com/p/nativeclient/issues/detail?id=2648 103 # http://code.google.com/p/nativeclient/issues/detail?id=2648
100 cmd.append('--disable_glibc') 104 cmd.append('--disable_glibc')
101 cmd += args 105 cmd += args
102 sys.stdout.write('Running %s\n' % ' '.join(cmd)) 106 sys.stdout.write('Running %s\n' % ' '.join(cmd))
103 sys.stdout.flush() 107 sys.stdout.flush()
104 return subprocess.call(cmd) 108 return subprocess.call(cmd)
105 109
106 110
107 if __name__ == '__main__': 111 if __name__ == '__main__':
108 sys.exit(Main(sys.argv[1:])) 112 sys.exit(Main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698