From fe3f0f54d85cea4f0bc04c48ea4539b8a41407bb Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Thu, 8 Jun 2017 09:46:27 -0400 Subject: [PATCH] Don't buffer test output into memory --- pavelib/utils/test/suites/suite.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pavelib/utils/test/suites/suite.py b/pavelib/utils/test/suites/suite.py index 9c8e712ff8..f89e526a9b 100644 --- a/pavelib/utils/test/suites/suite.py +++ b/pavelib/utils/test/suites/suite.py @@ -88,12 +88,10 @@ class TestSuite(object): try: process = subprocess.Popen(cmd, **kwargs) - process.communicate() + return (process.wait() == 0) except KeyboardInterrupt: kill_process(process) sys.exit(1) - else: - return process.returncode == 0 def run_suite_tests(self): """