tests: remove some redundant code in run-tests
authorMartin von Zweigbergk <martinvonz@google.com>
Mon, 02 Jul 2018 00:05:54 -0700
changeset 38551 174484b2528d
parent 38550 296648321710
child 38552 5a20b6090a6e
tests: remove some redundant code in run-tests These two lines also happen below if "r" is truthy, which it is in this case since it's equal to "retry". Differential Revision: https://phab.mercurial-scm.org/D3878
tests/run-tests.py
--- a/tests/run-tests.py	Mon Jul 02 00:02:31 2018 -0700
+++ b/tests/run-tests.py	Mon Jul 02 00:05:54 2018 -0700
@@ -1490,8 +1490,6 @@
                             r = '' # Warn only this line.
                         elif r == "retry":
                             postout.append(b'  ' + el)
-                            els.pop(i)
-                            break
                         else:
                             log('\ninfo, unknown linematch result: %r\n' % r)
                             r = False