tests/run-tests.py
changeset 8696 73aa0510740d
parent 8687 78ab2a12b4d9
child 8724 6e41d3c5619f
--- 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')