Download build/_deps/catch2-src/misc/appveyorMergeCoverageScript.py from camenduru/thrust: direct link, hf CLI and curl.
- Browser
- Download file 320 Bytes
-
https://huggingface.co/camenduru/thrust/resolve/main/build/_deps/catch2-src/misc/appveyorMergeCoverageScript.py
- Command line
-
hf download hf://camenduru/thrust/build/_deps/catch2-src/misc/appveyorMergeCoverageScript.py
-
curl -L -o appveyorMergeCoverageScript.py https://huggingface.co/camenduru/thrust/resolve/main/build/_deps/catch2-src/misc/appveyorMergeCoverageScript.py
320 Bytes
| #!/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) | |