We were not capturing the stdout FD for the run-test process. This was
leading to blank lines being printed during the running of some tests.
Test: ./test/testrunner/testrunner.py --host -j40
Change-Id: I1fb50fb6ae2af9c439f126c9fe47a3e24ad84e10
test_skipped = True
else:
test_skipped = False
- proc = subprocess.Popen(command.split(), stderr=subprocess.PIPE)
- script_output = proc.stderr.read().strip()
+ proc = subprocess.Popen(command.split(), stderr=subprocess.STDOUT, stdout=subprocess.PIPE)
+ script_output = proc.stdout.read().strip()
test_passed = not proc.wait()
# If verbose is set to True, every test information is printed on a new line.