summaryrefslogtreecommitdiff
path: root/share/spack/qa
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-08-17 09:16:19 +0200
committerGitHub <noreply@github.com>2022-08-17 09:16:19 +0200
commit6979d47cb648cc4a9edcdd9cee73fa26a906c575 (patch)
treec82ceea1d620ded8d2abf177ceebe86b2c96a985 /share/spack/qa
parent2d6087995caa2dc03c2468992e0b8ccec29b0e85 (diff)
downloadspack-6979d47cb648cc4a9edcdd9cee73fa26a906c575.tar.gz
spack-6979d47cb648cc4a9edcdd9cee73fa26a906c575.tar.bz2
spack-6979d47cb648cc4a9edcdd9cee73fa26a906c575.tar.xz
spack-6979d47cb648cc4a9edcdd9cee73fa26a906c575.zip
CI: reduce the amount of tests run in the original concretizer (#32179)
* CI: reduce the amount of tests run in the original concretizer * Don't test Python 3.6 on the original concretizer
Diffstat (limited to 'share/spack/qa')
-rwxr-xr-xshare/spack/qa/run-unit-tests5
1 files changed, 4 insertions, 1 deletions
diff --git a/share/spack/qa/run-unit-tests b/share/spack/qa/run-unit-tests
index 32c69b94a5..c1fb57399d 100755
--- a/share/spack/qa/run-unit-tests
+++ b/share/spack/qa/run-unit-tests
@@ -47,8 +47,11 @@ $coverage_run $(which spack) python -c "import spack.pkg.builtin.mpileaks; repr(
# Run unit tests with code coverage
#-----------------------------------------------------------
if [[ "$ONLY_PACKAGES" == "true" ]]; then
- echo "ONLY PACKAGE RECIPES CHANGED [skipping slow unit tests]"
+ echo "ONLY PACKAGE RECIPES CHANGED [running only package sanity]"
export PYTEST_ADDOPTS='-k "package_sanity" -m "not maybeslow"'
+elif [[ "$SPACK_TEST_SOLVER" == "original" ]]; then
+ echo "ORIGINAL CONCRETIZER [skipping slow unit tests]"
+ export PYTEST_ADDOPTS='-m "not maybeslow"'
fi
$coverage_run $(which spack) unit-test -x --verbose