Mercurial > hg
diff tests/run-tests.py @ 32720:0cd641bfbf57
run-tests: make --restart work with output dir
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Wed, 07 Jun 2017 21:17:24 -0700 |
parents | 74680ed89a29 |
children | 3139a7a1e7d4 |
line wrap: on
line diff
--- a/tests/run-tests.py Wed Jun 07 21:17:06 2017 -0700 +++ b/tests/run-tests.py Wed Jun 07 21:17:24 2017 -0700 @@ -2397,10 +2397,12 @@ orig = list(testdescs) while testdescs: desc = testdescs[0] + # desc['path'] is a relative path if 'case' in desc: errpath = b'%s.%s.err' % (desc['path'], desc['case']) else: errpath = b'%s.err' % desc['path'] + errpath = os.path.join(self._outputdir, errpath) if os.path.exists(errpath): break testdescs.pop(0)