summaryrefslogtreecommitdiffstats
path: root/support/testing/infra/builder.py
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2018-09-07 13:08:31 +0200
committerPeter Korsgaard <peter@korsgaard.com>2018-09-07 13:13:17 +0200
commit721e4cbb529d247c9c1ebef68275e70a3086ae0b (patch)
tree2967ef4e10e2592661f664df4515d67dbc80cfe5 /support/testing/infra/builder.py
parent89920e9735cb561dccf1e1f81d35788fd10a655b (diff)
parentcec266ee1f708f11cc679cb4f81613fa4186003c (diff)
downloadbuildroot-721e4cbb529d247c9c1ebef68275e70a3086ae0b.tar.gz
buildroot-721e4cbb529d247c9c1ebef68275e70a3086ae0b.zip
Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'support/testing/infra/builder.py')
-rw-r--r--support/testing/infra/builder.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/support/testing/infra/builder.py b/support/testing/infra/builder.py
index faf1eb1494..fc318fe26e 100644
--- a/support/testing/infra/builder.py
+++ b/support/testing/infra/builder.py
@@ -35,6 +35,11 @@ class Builder(object):
def build(self):
env = {"PATH": os.environ["PATH"]}
+ if "http_proxy" in os.environ:
+ self.logfile.write("Using system proxy: " +
+ os.environ["http_proxy"] + "\n")
+ env['http_proxy'] = os.environ["http_proxy"]
+ env['https_proxy'] = os.environ["http_proxy"]
cmd = ["make", "-C", self.builddir]
ret = subprocess.call(cmd, stdout=self.logfile, stderr=self.logfile,
env=env)
OpenPOWER on IntegriCloud