##// END OF EJS Templates
run-tests: remove useless "failed" flag from addOutputMismatch()...
Yuya Nishihara -
r28127:807bc140 default
parent child Browse files
Show More
@@ -1350,7 +1350,6 b' class TestResult(unittest._TextTestResul'
1350 return
1350 return
1351
1351
1352 accepted = False
1352 accepted = False
1353 failed = False
1354 lines = []
1353 lines = []
1355
1354
1356 with iolock:
1355 with iolock:
@@ -1391,7 +1390,7 b' class TestResult(unittest._TextTestResul'
1391 else:
1390 else:
1392 rename(test.errpath, '%s.out' % test.path)
1391 rename(test.errpath, '%s.out' % test.path)
1393 accepted = True
1392 accepted = True
1394 if not accepted and not failed:
1393 if not accepted:
1395 self.faildata[test.name] = b''.join(lines)
1394 self.faildata[test.name] = b''.join(lines)
1396
1395
1397 return accepted
1396 return accepted
General Comments 0
You need to be logged in to leave comments. Login now