Also pipe stdout

This commit is contained in:
Pedro Algarvio 2013-09-08 18:18:21 +01:00
parent 68bcc826c5
commit d11e9fdc2f

View file

@ -106,7 +106,7 @@ def download_unittest_reports(vm_name):
cmd.format(vm_name),
shell=True,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
stderr=subprocess.PIPE,
stream_stds=True
)
proc.poll_and_read_until_finish()
@ -118,6 +118,7 @@ def download_unittest_reports(vm_name):
)
)
def download_coverage_report(vm_name):
cmds = (
'salt {0} cp.push /tmp/coverage.xml',
@ -132,7 +133,7 @@ def download_coverage_report(vm_name):
cmd.format(vm_name),
shell=True,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
stderr=subprocess.PIPE,
stream_stds=True
)
proc.poll_and_read_until_finish()
@ -145,7 +146,6 @@ def download_coverage_report(vm_name):
)
def run(opts):
'''
RUN!