comparison tests/run-tests.py @ 33696:1fa6023240f4

run-tests: don't drop optional lines after a missing unconditional line The previous behavior was to bail out when hitting 'awol', so 'missing (?)' was also dropped.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 18 Jul 2017 00:57:11 -0400
parents eeed23508383
children 2e43c5cd57a7
comparison
equal deleted inserted replaced
33695:eeed23508383 33696:1fa6023240f4
1421 1421
1422 if self._hghave(conditions)[0]: 1422 if self._hghave(conditions)[0]:
1423 # Don't append as optional line 1423 # Don't append as optional line
1424 continue 1424 continue
1425 else: 1425 else:
1426 break 1426 continue
1427 postout.append(b' ' + el) 1427 postout.append(b' ' + el)
1428 1428
1429 if lcmd: 1429 if lcmd:
1430 # Add on last return code. 1430 # Add on last return code.
1431 ret = int(lcmd.split()[1]) 1431 ret = int(lcmd.split()[1])