##// END OF EJS Templates
run-tests: fix some io ordering...
Matt Mackall -
r22146:58b5196c stable
parent child Browse files
Show More
@@ -1081,6 +1081,7 b' class TestResult(unittest._TextTestResul'
1081 1081 def addFailure(self, test, reason):
1082 1082 self.failures.append((test, reason))
1083 1083
1084 iolock.acquire()
1084 1085 if self._options.first:
1085 1086 self.stop()
1086 1087 else:
@@ -1088,6 +1089,8 b' class TestResult(unittest._TextTestResul'
1088 1089 self.stream.write('\nERROR: %s output changed\n' % test)
1089 1090
1090 1091 self.stream.write('!')
1092 self.stream.flush()
1093 iolock.release()
1091 1094
1092 1095 def addError(self, *args, **kwargs):
1093 1096 super(TestResult, self).addError(*args, **kwargs)
General Comments 0
You need to be logged in to leave comments. Login now