Mercurial > hg-stable
changeset 15857:58dcb837f193
tests: fix omit path list
All directories need a trailing asterisk. Otherwise the files are not excluded
from coverage.
author | Markus Zapke-Gründemann <info@keimlink.de> |
---|---|
date | Wed, 11 Jan 2012 15:37:25 +0100 |
parents | 6bed6cc6d0d0 |
children | 14132a55d66b |
files | tests/run-tests.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/run-tests.py Fri Jan 13 14:52:47 2012 +0100 +++ b/tests/run-tests.py Wed Jan 11 15:37:25 2012 +0100 @@ -493,7 +493,7 @@ return covrun('-c') - omit = ','.join([BINDIR, TESTDIR]) + omit = ','.join(map(os.path.join, [BINDIR, TESTDIR], ['*'] * 2)) covrun('-i', '-r', '"--omit=%s"' % omit) # report if options.annotate: adir = os.path.join(TESTDIR, 'annotated')