tests/run-tests.py
branchstable
changeset 918 3071ec5d085c
parent 916 dd5c50a018b0
child 919 1666a4a68262
--- a/tests/run-tests.py	Mon Apr 25 18:42:31 2011 +0200
+++ b/tests/run-tests.py	Mon Apr 25 16:17:08 2011 -0500
@@ -203,12 +203,14 @@
         else:
             pid = None
         def vlog(*msg):
+            iolock.acquire()
             if pid:
                 print pid,
             for m in msg:
                 print m,
             print
             sys.stdout.flush()
+            iolock.release()
     else:
         vlog = lambda *msg: None