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

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

Issue 8332011: Disable nacl_integration tests on linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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/python 1 #!/usr/bin/python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 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):
12 pwd = os.environ.get('PWD', '') 12 pwd = os.environ.get('PWD', '')
13 is_integration_bot = 'nacl-chrome' in pwd 13 is_integration_bot = 'nacl-chrome' in pwd
14 14
15 if not is_integration_bot and sys.platform == 'darwin': 15 if not is_integration_bot and sys.platform == 'darwin':
16 # TODO: Reenable. 16 # TODO: Reenable.
17 sys.stdout.write('Skipping nacl_integration, see http://crbug.com/100518\n') 17 sys.stdout.write('Skipping nacl_integration, see http://crbug.com/100518\n')
18 return 18 return
19 19
20 if not is_integration_bot and sys.platform == 'win32': 20 if not is_integration_bot and sys.platform == 'win32':
21 # TODO: Reenable. 21 # TODO: Reenable.
22 sys.stdout.write('Skipping nacl_integration, see http://crbug.com/101050\n') 22 sys.stdout.write('Skipping nacl_integration, see http://crbug.com/101050\n')
23 return 23 return
24 24
25 if not is_integration_bot and sys.platform == 'linux2':
26 # TODO: Reenable.
27 sys.stdout.write('Skipping nacl_integration, see http://crbug.com/101401\n')
28 return
29
25 # On the main Chrome waterfall, we may need to control where the tests are 30 # On the main Chrome waterfall, we may need to control where the tests are
26 # run. 31 # run.
27 # If there is serious skew in the PPAPI interface that causes all of 32 # If there is serious skew in the PPAPI interface that causes all of
28 # the NaCl integration tests to fail, you can uncomment the 33 # the NaCl integration tests to fail, you can uncomment the
29 # following block. (Make sure you comment it out when the issues 34 # following block. (Make sure you comment it out when the issues
30 # are resolved.) *However*, it is much preferred to add tests to 35 # are resolved.) *However*, it is much preferred to add tests to
31 # the 'tests_to_disable' list below. 36 # the 'tests_to_disable' list below.
32 #if not is_integration_bot: 37 #if not is_integration_bot:
33 # return 38 # return
34 39
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 cmd = [sys.executable, 93 cmd = [sys.executable,
89 nacl_integration_script, 94 nacl_integration_script,
90 '--disable_tests=%s' % ','.join(tests_to_disable)] + args 95 '--disable_tests=%s' % ','.join(tests_to_disable)] + args
91 sys.stdout.write('Running %s\n' % ' '.join(cmd)) 96 sys.stdout.write('Running %s\n' % ' '.join(cmd))
92 sys.stdout.flush() 97 sys.stdout.flush()
93 return subprocess.call(cmd) 98 return subprocess.call(cmd)
94 99
95 100
96 if __name__ == '__main__': 101 if __name__ == '__main__':
97 sys.exit(Main(sys.argv[1:])) 102 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