##// END OF EJS Templates
run-tests: more accurate/helpful message than "diff generation failed"...
Kyle Lippincott -
r22839:9f0f50c6 default
parent child Browse files
Show More
@@ -1206,10 +1206,12 b' class TestResult(unittest._TextTestResul'
1206 1206 os.system("%s %s %s" %
1207 1207 (self._options.view, test.refpath, test.errpath))
1208 1208 else:
1209 failed, lines = getdiff(expected, got,
1209 servefail, lines = getdiff(expected, got,
1210 1210 test.refpath, test.errpath)
1211 if failed:
1212 self.addFailure(test, 'diff generation failed')
1211 if servefail:
1212 self.addFailure(
1213 test,
1214 'server failed to start (HGPORT=%s)' % test._startport)
1213 1215 else:
1214 1216 self.stream.write('\n')
1215 1217 for line in lines:
General Comments 0
You need to be logged in to leave comments. Login now