Output the coverage pickled data.

This commit is contained in:
Pedro Algarvio 2013-05-30 12:42:34 +01:00
parent ce648b5afe
commit 662f5b23ca

View File

@ -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(