changeset 8696:73aa0510740d

tests: delete parallel coverage files after combining
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed, 03 Jun 2009 14:10:36 +0200
parents 9a89253a32e6
children 3d53820381cb
files tests/run-tests.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Wed Jun 03 13:59:38 2009 +0200
+++ b/tests/run-tests.py	Wed Jun 03 14:10:36 2009 +0200
@@ -331,6 +331,10 @@
     omit = ','.join(omit)
 
     covrun('-c') # combine from parallel processes
+    for fn in os.listdir(TESTDIR):
+        if fn.startswith('.coverage.'):
+            os.unlink(os.path.join(TESTDIR, fn))
+
     covrun('-i', '-r', '"--omit=%s"' % omit) # report
     if options.annotate:
         adir = os.path.join(TESTDIR, 'annotated')