mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +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')))
|
print('Coverage data file exists? {0}'.format(os.path.isfile('.coverage')))
|
||||||
import subprocess
|
import subprocess
|
||||||
subprocess.call(['ls', '-lah'])
|
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')
|
report_dir = os.path.join(os.path.dirname(__file__), 'coverage-report')
|
||||||
print(
|
print(
|
||||||
|
Loading…
Reference in New Issue
Block a user