Commit fe3f0f54 by Calen Pennington

Don't buffer test output into memory

parent fdafd53a
...@@ -88,12 +88,10 @@ class TestSuite(object): ...@@ -88,12 +88,10 @@ class TestSuite(object):
try: try:
process = subprocess.Popen(cmd, **kwargs) process = subprocess.Popen(cmd, **kwargs)
process.communicate() return (process.wait() == 0)
except KeyboardInterrupt: except KeyboardInterrupt:
kill_process(process) kill_process(process)
sys.exit(1) sys.exit(1)
else:
return process.returncode == 0
def run_suite_tests(self): def run_suite_tests(self):
""" """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment