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