tests/run-tests.py
branchstable
changeset 1037 bef1d9649208
parent 1033 8cbcb86e4fa8
child 1038 62b7a0759ee3
--- 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')