##// END OF EJS Templates
run-tests: add iolock to failure output
Matt Mackall -
r21993:284a8c9f default
parent child Browse files
Show More
@@ -1085,10 +1085,12 b' class TestResult(unittest._TextTestResul'
1085 1085 if self._options.first:
1086 1086 self.stop()
1087 1087 else:
1088 iolock.acquire()
1088 1089 if not self._options.nodiff:
1089 1090 self.stream.write('\nERROR: %s output changed\n' % test)
1090 1091
1091 1092 self.stream.write('!')
1093 iolock.release()
1092 1094
1093 1095 def addError(self, *args, **kwargs):
1094 1096 super(TestResult, self).addError(*args, **kwargs)
General Comments 0
You need to be logged in to leave comments. Login now