From 662f5b23caad772f26f9f162d0f6324af07a510d Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Thu, 30 May 2013 12:42:34 +0100 Subject: [PATCH] Output the coverage pickled data. --- tests/runtests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/runtests.py b/tests/runtests.py index 927ac9d16c..d5c2be4d60 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -462,6 +462,9 @@ if __name__ == '__main__': print('Coverage data file exists? {0}'.format(os.path.isfile('.coverage'))) import subprocess subprocess.call(['ls', '-lah']) + if os.path.isfile('.coverage'): + import cPickle + print(cPickle.load(open('.coverage'))) report_dir = os.path.join(os.path.dirname(__file__), 'coverage-report') print(