From ebe999ff58e375b7b4c6e920238508f5ca9416b7 Mon Sep 17 00:00:00 2001 From: Caspar van Leeuwen Date: Tue, 21 Jan 2025 03:21:31 +0100 Subject: [PATCH] Make sure the EESSI_ACCELERATOR_TARGET is also set for the test step, as we need it to append the right path to the MODULEPATH for the test_suite.sh --- bot/test.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bot/test.sh b/bot/test.sh index 4205ea8564..597c277292 100755 --- a/bot/test.sh +++ b/bot/test.sh @@ -172,6 +172,10 @@ EESSI_SOFTWARE_SUBDIR_OVERRIDE=${EESSI_SOFTWARE_SUBDIR_OVERRIDE:-${CPU_TARGET}} export EESSI_SOFTWARE_SUBDIR_OVERRIDE echo "bot/test.sh: EESSI_SOFTWARE_SUBDIR_OVERRIDE='${EESSI_SOFTWARE_SUBDIR_OVERRIDE}'" +# determine accelerator target (if any) from .architecture in ${JOB_CFG_FILE} +export EESSI_ACCELERATOR_TARGET=$(cfg_get_value "architecture" "accelerator") +echo "bot/test.sh: EESSI_ACCELERATOR_TARGET='${EESSI_ACCELERATOR_TARGET}'" + # get EESSI_OS_TYPE from .architecture.os_type in ${JOB_CFG_FILE} (default: linux) EESSI_OS_TYPE=$(cfg_get_value "architecture" "os_type") export EESSI_OS_TYPE=${EESSI_OS_TYPE:-linux}