OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/env 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): |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 cmd = [sys.executable, | 75 cmd = [sys.executable, |
76 nacl_integration_script, | 76 nacl_integration_script, |
77 '--disable_tests=%s' % ','.join(tests_to_disable)] + args | 77 '--disable_tests=%s' % ','.join(tests_to_disable)] + args |
78 sys.stdout.write('Running %s\n' % ' '.join(cmd)) | 78 sys.stdout.write('Running %s\n' % ' '.join(cmd)) |
79 sys.stdout.flush() | 79 sys.stdout.flush() |
80 return subprocess.call(cmd) | 80 return subprocess.call(cmd) |
81 | 81 |
82 | 82 |
83 if __name__ == '__main__': | 83 if __name__ == '__main__': |
84 sys.exit(Main(sys.argv[1:])) | 84 sys.exit(Main(sys.argv[1:])) |
OLD | NEW |