[PATCH 1 of 2 V2 stable] run-tests: skipped test should not produce 'i' mark while retesting
Anurag Goel
anurag.dsps at gmail.com
Wed Jun 11 17:04:53 CDT 2014
# HG changeset patch
# User anuraggoel <anurag.dsps at gmail.com>
# Date 1402520812 -19800
# Thu Jun 12 02:36:52 2014 +0530
# Node ID a3f304e4f7715feb4c4215c6e0d5a62ae61e9047
# Parent 9de4b275e143b889ce62cff88c641751d5ce203f
run-tests: skipped test should not produce 'i' mark while retesting
When '--retest' option is enabled then skipped test should not produce
'i' mark.
diff -r 9de4b275e143 -r a3f304e4f771 tests/run-tests.py
--- a/tests/run-tests.py Thu Jun 12 02:17:20 2014 +0530
+++ b/tests/run-tests.py Thu Jun 12 02:36:52 2014 +0530
@@ -1102,7 +1102,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):
More information about the Mercurial-devel
mailing list