OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 The Native Client 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 python = sys.executable | 10 python = sys.executable |
11 | 11 |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 else: | 282 else: |
283 env['GSUTIL'] = '/b/build/scripts/slave/gsutil' | 283 env['GSUTIL'] = '/b/build/scripts/slave/gsutil' |
284 | 284 |
285 print "%s runs: %s\n" % (builder, cmd) | 285 print "%s runs: %s\n" % (builder, cmd) |
286 retcode = subprocess.call(cmd, env=env, shell=True) | 286 retcode = subprocess.call(cmd, env=env, shell=True) |
287 sys.exit(retcode) | 287 sys.exit(retcode) |
288 | 288 |
289 | 289 |
290 if __name__ == '__main__': | 290 if __name__ == '__main__': |
291 Main() | 291 Main() |
OLD | NEW |