summaryrefslogtreecommitdiff
path: root/chromium/testing/scripts/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/testing/scripts/common.py')
-rw-r--r--chromium/testing/scripts/common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/testing/scripts/common.py b/chromium/testing/scripts/common.py
index 3697c4b7373..69ee3e49b97 100644
--- a/chromium/testing/scripts/common.py
+++ b/chromium/testing/scripts/common.py
@@ -59,9 +59,9 @@ def run_script(argv, funcs):
return args.func(args)
-def run_command(argv):
+def run_command(argv, env=None):
print 'Running %r' % argv
- rc = subprocess.call(argv)
+ rc = subprocess.call(argv, env=env)
print 'Command %r returned exit code %d' % (argv, rc)
return rc