You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
320 B
10 lines
320 B
4 months ago
|
#!/usr/bin/env python2
|
||
|
|
||
|
import glob
|
||
|
import subprocess
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
cov_files = list(glob.glob('projects/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)
|