From 23aef6bb945dc53d68af85820d7d9653d691e0ad Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Tue, 1 Nov 2022 19:04:45 +0100 Subject: Let pytest-cov create the xml directly (#33619) `coverage` sometimes failed to combine, even if there were multiple reports. --- share/spack/qa/run-unit-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') 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 -- cgit v1.2.3-60-g2f50