Docker: Re-enable --keepalive and --flagslow

This commit is contained in:
Ole Schütt 2026-01-01 21:25:11 +01:00 committed by Ole Schütt
parent 8455e73121
commit ca6acaeee7

View file

@ -33,6 +33,16 @@ export OMPI_MCA_plm_rsh_agent=/bin/false
export OMPI_ALLOW_RUN_AS_ROOT=1
export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
# Use keepalive mode for GPU tests.
if [[ "${PROFILE}" == *cuda* ]] || [[ "${PROFILE}" == *hip* ]]; then
TESTOPTS="--keepalive ${TESTOPTS}"
fi
# Flag slow tests in debug runs.
if [[ "${PROFILE}" == "toolchain" ]] && [[ "${VERSION}" == *dbg* ]]; then
TESTOPTS="--flagslow ${TESTOPTS}"
fi
# Load Spack or Toolchain environment.
if [[ "${PROFILE}" =~ ^spack ]]; then
eval "$(spack env activate myenv --sh)"