# HG changeset patch # User Markus Zapke-Gr?ndemann # Date 1326292645 -3600 # Node ID bef1d96492084280ac76b49c314e1fcb23bb4fda # Parent 53da6702a77f2e7125d4f667b8c1373078d20718 tests: fix omit path list All directories need a trailing asterisk. Otherwise the files are not excluded from coverage. [ original upstream message ] diff -r 53da6702a77f -r bef1d9649208 tests/run-tests.py --- a/tests/run-tests.py Thu Dec 08 14:32:44 2011 -0600 +++ 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')