mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Output the coverage pickled data.
This commit is contained in:
parent
ce648b5afe
commit
662f5b23ca
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user