tests/run-tests.py
changeset 14018 7ba2c728cf32
parent 14006 a395575691a6
child 14019 fbbd5f91d5e1
--- a/tests/run-tests.py	Tue Apr 26 21:22:14 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