Skip to content

Commit 71f4e0a

Browse files
committed
Fix the Docker test script
1 parent 5881988 commit 71f4e0a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
def run_command(cmd):
2121
print("Running: {}".format(cmd))
2222
p = subprocess.Popen(cmd, shell=True)
23+
(output, err) = p.communicate()
2324
return p.wait()
2425

2526

@@ -52,7 +53,7 @@ def main():
5253
print("Testing {}".format(dockerfile))
5354
log_file = dockerfile.replace(docker_dir,"").replace("/", "_")
5455
log_file = "{}.log".format(log_file)
55-
cmd = "docker build --no-cache {} &> {}".format(dockerfile, log_file)
56+
cmd = "docker build --no-cache=true {} &> {}".format(dockerfile, log_file)
5657
status = run_command(cmd)
5758
results[dockerfile] = status
5859
if status != 0:

0 commit comments

Comments
 (0)