Mercurial > hg
comparison tests/run-tests.py @ 21739:11e5ad038a7b
run-tests: skipped test should not produce 'i' mark while retesting
When '--retest' option is enabled then skipped test should not produce 'i' mark.
This fixes a regression introduced by 92a6b16c9186 and about 200 previous
changesets from Gregory Szorc.
author | anuraggoel <anurag.dsps@gmail.com> |
---|---|
date | Thu, 12 Jun 2014 02:36:52 +0530 |
parents | 8a63e691179a |
children | 2b3b60031b6f |
comparison
equal
deleted
inserted
replaced
21738:7ec3b32b98bb | 21739:11e5ad038a7b |
---|---|
1104 self.ignored.append((test, reason)) | 1104 self.ignored.append((test, reason)) |
1105 | 1105 |
1106 if self.showAll: | 1106 if self.showAll: |
1107 self.stream.writeln('ignored %s' % reason) | 1107 self.stream.writeln('ignored %s' % reason) |
1108 else: | 1108 else: |
1109 self.stream.write('i') | 1109 if reason != 'not retesting': |
1110 self.stream.write('i') | |
1110 self.stream.flush() | 1111 self.stream.flush() |
1111 | 1112 |
1112 def addWarn(self, test, reason): | 1113 def addWarn(self, test, reason): |
1113 self.warned.append((test, reason)) | 1114 self.warned.append((test, reason)) |
1114 | 1115 |