appveyorMergeCoverageScript.py 317 B

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