diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2022-11-01 19:04:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 19:04:45 +0100 |
commit | 23aef6bb945dc53d68af85820d7d9653d691e0ad (patch) | |
tree | 4312e02c4cac3d9ecc0492b0e3023e93692e925e /share | |
parent | 973b43b1c1340bd84c4f193f19a6ad01d8de8edb (diff) | |
download | spack-23aef6bb945dc53d68af85820d7d9653d691e0ad.tar.gz spack-23aef6bb945dc53d68af85820d7d9653d691e0ad.tar.bz2 spack-23aef6bb945dc53d68af85820d7d9653d691e0ad.tar.xz spack-23aef6bb945dc53d68af85820d7d9653d691e0ad.zip |
Let pytest-cov create the xml directly (#33619)
`coverage` sometimes failed to combine, even if there were multiple reports.
Diffstat (limited to 'share')
-rwxr-xr-x | share/spack/qa/run-unit-tests | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/qa/run-unit-tests b/share/spack/qa/run-unit-tests index 478e582242..842a00caf2 100755 --- a/share/spack/qa/run-unit-tests +++ b/share/spack/qa/run-unit-tests @@ -66,7 +66,7 @@ fi # where it seems that otherwise the configuration file might not be located by subprocesses # in some, not better specified, cases. if [[ "$UNIT_TEST_COVERAGE" == "true" ]]; then - $(which spack) unit-test -x --verbose --cov --cov-config=pyproject.toml + $(which spack) unit-test -x --verbose --cov --cov-config=pyproject.toml --cov-report=xml:coverage.xml else $(which spack) unit-test -x --verbose fi |