tests/run-tests.py
branchstable
changeset 1038 62b7a0759ee3
parent 1037 bef1d9649208
child 1039 7c2190b236cf
--- a/tests/run-tests.py	Wed Jan 11 15:37:25 2012 +0100
+++ b/tests/run-tests.py	Thu Jan 12 14:39:02 2012 -0600
@@ -493,7 +493,7 @@
         return
 
     covrun('-c')
-    omit = ','.join(map(os.path.join, [BINDIR, TESTDIR], ['*'] * 2))
+    omit = ','.join(os.path.join(x, '*') for x in [BINDIR, TESTDIR])
     covrun('-i', '-r', '"--omit=%s"' % omit) # report
     if options.annotate:
         adir = os.path.join(TESTDIR, 'annotated')