]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
fix: no buffering for test subprocesses agr/fix_test_labels
authorCédric Aguerre <cedric.aguerre@edf.fr>
Mon, 20 Apr 2015 12:45:06 +0000 (14:45 +0200)
committerCédric Aguerre <cedric.aguerre@edf.fr>
Mon, 20 Apr 2015 12:45:06 +0000 (14:45 +0200)
bin/runTests.py

index 7384e8554b06ef24e396013291427a50b02cc136..5d3939f9ae1a1574d937f0aa8f71d599e0003327 100644 (file)
@@ -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 = []