1#!/usr/bin/env python2 2 3import glob 4import subprocess 5 6if __name__ == '__main__': 7 cov_files = list(glob.glob('cov-report*.bin')) 8 base_cmd = ['OpenCppCoverage', '--quiet', '--export_type=cobertura:cobertura.xml'] + ['--input_coverage={}'.format(f) for f in cov_files] 9 subprocess.call(base_cmd) 10