OLD | NEW |
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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 nacl_integration_script = os.path.join( | 87 nacl_integration_script = os.path.join( |
88 src_dir, 'native_client/build/buildbot_chrome_nacl_stage.py') | 88 src_dir, 'native_client/build/buildbot_chrome_nacl_stage.py') |
89 cmd = [sys.executable, | 89 cmd = [sys.executable, |
90 '/b/build/scripts/slave/runtest.py', | 90 '/b/build/scripts/slave/runtest.py', |
91 '--run-python-script', | 91 '--run-python-script', |
92 '--target=', | 92 '--target=', |
93 '--build-dir=', | 93 '--build-dir=', |
94 '--', | 94 '--', |
95 nacl_integration_script, | 95 nacl_integration_script, |
96 '--disable_tests=%s' % ','.join(tests_to_disable)] | 96 '--disable_tests=%s' % ','.join(tests_to_disable)] |
97 if not is_integration_bot: | |
98 if sys.platform in ('win32', 'cygwin'): | |
99 # http://code.google.com/p/nativeclient/issues/detail?id=2648 | |
100 cmd.append('--disable_glibc') | |
101 cmd += args | 97 cmd += args |
102 sys.stdout.write('Running %s\n' % ' '.join(cmd)) | 98 sys.stdout.write('Running %s\n' % ' '.join(cmd)) |
103 sys.stdout.flush() | 99 sys.stdout.flush() |
104 return subprocess.call(cmd) | 100 return subprocess.call(cmd) |
105 | 101 |
106 | 102 |
107 if __name__ == '__main__': | 103 if __name__ == '__main__': |
108 sys.exit(Main(sys.argv[1:])) | 104 sys.exit(Main(sys.argv[1:])) |
OLD | NEW |