From ca6acaeee7a094b69726685023411cecc77f9e87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Sch=C3=BCtt?= Date: Thu, 1 Jan 2026 21:25:11 +0100 Subject: [PATCH] Docker: Re-enable --keepalive and --flagslow --- tools/docker/scripts/test_regtest.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tools/docker/scripts/test_regtest.sh b/tools/docker/scripts/test_regtest.sh index 921fa7f0b4..a2a8f72fe7 100755 --- a/tools/docker/scripts/test_regtest.sh +++ b/tools/docker/scripts/test_regtest.sh @@ -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)"