# HG changeset patch # User Matt Mackall # Date 2011-04-25 21:17:08 # Node ID 7ba2c728cf3297025f0f5048f3c89f1e615f7f17 # Parent 19a7b48446e398641d6d5bba341e53b1d106138e run-tests: add iolock to vlog diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -203,12 +203,14 @@ def parseargs(): 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