https://github.com/philsquared/Catch
Raw File
Tip revision: 15cf3caaceb21172ea42a24e595a2eb58c3ec960 authored by Martin Hořeňovský on 23 July 2018, 08:12:15 UTC
v2.3.0
Tip revision: 15cf3ca
appveyorMergeCoverageScript.py
#!/usr/bin/env python2

import glob
import subprocess

if __name__ == '__main__':
    cov_files = list(glob.glob('cov-report*.bin'))
    base_cmd = ['OpenCppCoverage', '--quiet', '--export_type=cobertura:cobertura.xml'] + ['--input_coverage={}'.format(f) for f in cov_files]
    subprocess.call(base_cmd)
back to top