From: Cédric Aguerre Date: Mon, 20 Apr 2015 12:45:06 +0000 (+0200) Subject: fix: no buffering for test subprocesses X-Git-Tag: V7_6_0rc1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2e5cd21211aa2e142cbd890993cb07c514dd7836;p=modules%2Fkernel.git fix: no buffering for test subprocesses --- diff --git a/bin/runTests.py b/bin/runTests.py index 7384e8554..5d3939f9a 100644 --- a/bin/runTests.py +++ b/bin/runTests.py @@ -70,7 +70,7 @@ __testSubDir = "bin/salome/test" # Both display process stdout&stderr to console and capture them to variables def __runTest(command, workdir): - p = subprocess.Popen(command, cwd=workdir, stdout=subprocess.PIPE, stderr=subprocess.PIPE, bufsize=1) + p = subprocess.Popen(command, cwd=workdir, stdout=subprocess.PIPE, stderr=subprocess.PIPE, bufsize=0) stdout = [] stderr = []