| Index: testing/scripts/common.py
|
| diff --git a/testing/scripts/common.py b/testing/scripts/common.py
|
| index d07548c496cbb6f7c6f065e9f93df8f96884f153..ee49a8926928dd604cc8c6e0fc57d9ab838ebe6b 100644
|
| --- a/testing/scripts/common.py
|
| +++ b/testing/scripts/common.py
|
| @@ -63,9 +63,9 @@ def run_script(argv, funcs):
|
| return args.func(args)
|
|
|
|
|
| -def run_command(argv, env=None):
|
| - print 'Running %r' % argv
|
| - rc = subprocess.call(argv, env=env)
|
| +def run_command(argv, env=None, cwd=None):
|
| + print 'Running %r in %r (env: %r)' % (argv, cwd, env)
|
| + rc = subprocess.call(argv, env=env, cwd=cwd)
|
| print 'Command %r returned exit code %d' % (argv, rc)
|
| return rc
|
|
|
|
|