mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 23:36:11 +01:00
45a465713e
Also had to add new project to redirect CTest output, add separate batch scripts for AppVeyor because it doesn't handle multi-line batch scripts in yaml properly, and other helper scripts.
10 lines
305 B
Python
10 lines
305 B
Python
#!/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)
|