https://github.com/philsquared/Catch
Raw File
Tip revision: 182c910b4b63ff587a3440e08f84f70497e49a81 authored by Martin Hořeňovský on 16 October 2022, 09:02:17 UTC
v2.13.10
Tip revision: 182c910
appveyorMergeCoverageScript.py
#!/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)
back to top