tests/run-tests.py
changeset 21993 284a8c9f74f3
parent 21977 4ca4e1572022
child 21997 93c3b3f55d59
--- a/tests/run-tests.py	Mon Aug 04 14:32:34 2014 -0500
+++ b/tests/run-tests.py	Mon Aug 04 14:42:24 2014 -0500
@@ -1085,10 +1085,12 @@
         if self._options.first:
             self.stop()
         else:
+            iolock.acquire()
             if not self._options.nodiff:
                 self.stream.write('\nERROR: %s output changed\n' % test)
 
             self.stream.write('!')
+            iolock.release()
 
     def addError(self, *args, **kwargs):
         super(TestResult, self).addError(*args, **kwargs)