X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=test%2Fframework.py;h=0acc1603bd4dcacafdc9d95e95c22d44a9ddbb79;hb=ae8d332699685a8527fe42eb9be0bca4d639d5c3;hp=dcea2e74d6246e31d49249ba1e071890c8b3486a;hpb=ab755a3cf01589883df877bb27149f031591a125;p=vpp.git diff --git a/test/framework.py b/test/framework.py old mode 100644 new mode 100755 index dcea2e74d62..0acc1603bd4 --- a/test/framework.py +++ b/test/framework.py @@ -1727,8 +1727,9 @@ class Worker(Thread): env.update(self.env) env["CK_LOG_FILE_NAME"] = "-" self.process = subprocess.Popen( - self.args, shell=False, env=env, preexec_fn=os.setpgrp, - stdout=subprocess.PIPE, stderr=subprocess.PIPE) + ['stdbuf', '-o0', '-e0'] + self.args, shell=False, env=env, + preexec_fn=os.setpgrp, stdout=subprocess.PIPE, + stderr=subprocess.PIPE) self.wait_for_enter() out, err = self.process.communicate() self.logger.debug("Finished running `{app}'".format(app=self.app_name))