2017-12-03 13:03:52 +01:00
|
|
|
#!/usr/bin/env python2
|
|
|
|
|
|
|
|
|
|
import glob
|
|
|
|
|
import subprocess
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2019-12-15 21:17:53 +01:00
|
|
|
cov_files = list(glob.glob('tests/cov-report*.bin'))
|
2017-12-03 13:03:52 +01:00
|
|
|
base_cmd = ['OpenCppCoverage', '--quiet', '--export_type=cobertura:cobertura.xml'] + ['--input_coverage={}'.format(f) for f in cov_files]
|
2019-07-20 21:06:56 +02:00
|
|
|
subprocess.check_call(base_cmd)
|