From db030f70b9e37ebb340508d567a8f2dd2064ba2e Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Tue, 28 May 2024 21:13:48 +0200 Subject: [PATCH] only run OSU ReFrame tests after build job --- test_suite.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/test_suite.sh b/test_suite.sh index f213ad68a3..2f304dd9bc 100755 --- a/test_suite.sh +++ b/test_suite.sh @@ -183,7 +183,16 @@ else fi # List the tests we want to run -export REFRAME_ARGS='--tag CI --tag 1_node --nocolor --exclude=TensorFlow' +# export REFRAME_ARGS='--tag CI --tag 1_node --nocolor --exclude=TensorFlow' +export REFRAME_FLAGS='--nocolor' +export REFRAME_TAGS='--tag CI --tag 1_node' +# Limit test names to relevant tests +# For now, we limit to OSU. +# In the future, we should create some mapping between module names of modules that are deployed. +# E.g. if TensorFlow was deployed, we want to run with `-n TensorFlow`. If OpenMPI was deployed +# we want to run with `-n OSU`, or maybe even `-n OSU -n GROMACS.*foss` to also test _one_ OpenMPI application +export REFRAME_INCLUDE_PATTERNS='-n OSU' +export REFRAME_ARGS="${REFRAME_FLAGS} ${REFRAME_TAGS} ${REFRAME_INCLUDE_PATTERNS}" echo "Listing tests: reframe ${REFRAME_ARGS} --list" reframe ${REFRAME_ARGS} --list if [[ $? -eq 0 ]]; then