diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2024-08-16 18:11:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-16 16:11:08 +0000 |
commit | fe3bfa482e630a336787cbf4df62ea848b4ac374 (patch) | |
tree | 0a5261ea7b3d16fd81cc348458ea6ee2d33fa03b /share | |
parent | e5f53a62509452227bc84cdd2b96bb8d89d684b2 (diff) | |
download | spack-fe3bfa482e630a336787cbf4df62ea848b4ac374.tar.gz spack-fe3bfa482e630a336787cbf4df62ea848b4ac374.tar.bz2 spack-fe3bfa482e630a336787cbf4df62ea848b4ac374.tar.xz spack-fe3bfa482e630a336787cbf4df62ea848b4ac374.zip |
Run unit test in parallel again in CI (#45793)
The --trace-config option was failing for linux unit-tests,
so we were running serial.
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 3c889bc888..ca9b0752f1 100755 --- a/share/spack/qa/run-unit-tests +++ b/share/spack/qa/run-unit-tests @@ -47,7 +47,7 @@ $coverage_run $(which spack) python -c "import spack.pkg.builtin.mpileaks; repr( # Run unit tests with code coverage #----------------------------------------------------------- # 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 |