From 683e50b8d99159dd1d6ac7f6abdb40b26dbbb4d2 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Fri, 16 Aug 2024 18:11:08 +0200 Subject: [PATCH] Run unit test in parallel again in CI (#45793) The --trace-config option was failing for linux unit-tests, so we were running serial. --- share/spack/qa/run-unit-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/spack/qa/run-unit-tests b/share/spack/qa/run-unit-tests index 6808e18bdb..f724c864c8 100755 --- a/share/spack/qa/run-unit-tests +++ b/share/spack/qa/run-unit-tests @@ -52,7 +52,7 @@ if [[ "$SPACK_TEST_SOLVER" == "original" ]]; then fi # Check if xdist is available -if python -m pytest --trace-config 2>&1 | grep xdist; then +if python -m pytest -VV 2>&1 | grep xdist; then export PYTEST_ADDOPTS="$PYTEST_ADDOPTS --dist loadfile --tx '${SPACK_TEST_PARALLEL:=3}*popen//python=./bin/spack-tmpconfig python -u ./bin/spack python'" fi