Mercurial > hg
comparison tests/run-tests.py @ 38551:174484b2528d
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
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 02 Jul 2018 00:05:54 -0700 |
parents | 296648321710 |
children | 5a20b6090a6e |
comparison
equal
deleted
inserted
replaced
38550:296648321710 | 38551:174484b2528d |
---|---|
1488 if r == '-glob': | 1488 if r == '-glob': |
1489 lout = ''.join(el.rsplit(' (glob)', 1)) | 1489 lout = ''.join(el.rsplit(' (glob)', 1)) |
1490 r = '' # Warn only this line. | 1490 r = '' # Warn only this line. |
1491 elif r == "retry": | 1491 elif r == "retry": |
1492 postout.append(b' ' + el) | 1492 postout.append(b' ' + el) |
1493 els.pop(i) | |
1494 break | |
1495 else: | 1493 else: |
1496 log('\ninfo, unknown linematch result: %r\n' % r) | 1494 log('\ninfo, unknown linematch result: %r\n' % r) |
1497 r = False | 1495 r = False |
1498 if r: | 1496 if r: |
1499 els.pop(i) | 1497 els.pop(i) |