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

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

Issue 6899055: PPAPI: Force async callback invocation option. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « no previous file | ppapi/c/dev/ppb_directory_reader_dev.h » ('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) 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(): 11 def Main():
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: 15 if not is_integration_bot:
16 # On the main Chrome waterfall, we may need to control where the tests are 16 # On the main Chrome waterfall, we may need to control where the tests are
17 # run. 17 # run.
18 18
19 # TODO(ncbray): enable on all platforms. 19 # TODO(ncbray): enable on all platforms.
20 if sys.platform in ['win32', 'cygwin']: return 20 if sys.platform in ['win32', 'cygwin']: return
21 if sys.platform == 'darwin': return 21 if sys.platform == 'darwin': return
22 # if sys.platform in ['linux', 'linux2']: return 22 # if sys.platform in ['linux', 'linux2']: return
23 23
24 # Uncomment the following line if there is skew in the PPAPI interface 24 # Uncomment the following line if there is skew in the PPAPI interface
25 # and the tests are failing. Comment out once the issues are resolved. 25 # and the tests are failing. Comment out once the issues are resolved.
26 # return 26 return
27 27
28 script_dir = os.path.dirname(os.path.abspath(__file__)) 28 script_dir = os.path.dirname(os.path.abspath(__file__))
29 test_dir = os.path.dirname(script_dir) 29 test_dir = os.path.dirname(script_dir)
30 chrome_dir = os.path.dirname(test_dir) 30 chrome_dir = os.path.dirname(test_dir)
31 src_dir = os.path.dirname(chrome_dir) 31 src_dir = os.path.dirname(chrome_dir)
32 nacl_integration_script = os.path.join( 32 nacl_integration_script = os.path.join(
33 src_dir, 'native_client/build/buildbot_chrome_nacl_stage.py') 33 src_dir, 'native_client/build/buildbot_chrome_nacl_stage.py')
34 cmd = [sys.executable, nacl_integration_script] + sys.argv[1:] 34 cmd = [sys.executable, nacl_integration_script] + sys.argv[1:]
35 print cmd 35 print cmd
36 subprocess.check_call(cmd) 36 subprocess.check_call(cmd)
37 37
38 38
39 if __name__ == '__main__': 39 if __name__ == '__main__':
40 Main() 40 Main()
OLDNEW
« no previous file with comments | « no previous file | ppapi/c/dev/ppb_directory_reader_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698