run-tests: skipped test should not produce 'i' mark while retesting
authoranuraggoel <anurag.dsps@gmail.com>
Thu, 12 Jun 2014 02:36:52 +0530
changeset 21739 11e5ad038a7b
parent 21738 7ec3b32b98bb
child 21740 2b3b60031b6f
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.
tests/run-tests.py
--- a/tests/run-tests.py	Fri May 30 12:10:56 2014 -0700
+++ b/tests/run-tests.py	Thu Jun 12 02:36:52 2014 +0530
@@ -1106,7 +1106,8 @@
         if self.showAll:
             self.stream.writeln('ignored %s' % reason)
         else:
-            self.stream.write('i')
+            if reason != 'not retesting':
+                self.stream.write('i')
             self.stream.flush()
 
     def addWarn(self, test, reason):