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