Skip to content

Commit

Permalink
Update test_suite.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
laraPPr authored Jan 28, 2025
1 parent 77aa020 commit f500cb8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test_suite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,10 @@ else
fi
# Allow people deploying the bot to overrwide this
if [ -z "$REFRAME_SCALE_TAG" ]; then
REFRAME_SCALE_TAG=--tag=1_4_node
REFRAME_SCALE_TAG="--tag 1_4_node"
fi
if [ -z "$REFRAME_CI_TAG" ]; then
REFRAME_CI_TAG=--tag=CI
REFRAME_CI_TAG="--tag CI"
fi
# Allow bot-deployers to add additional args through the environment
if [ -z "$REFRAME_ADDITIONAL_ARGS" ]; then
Expand All @@ -269,7 +269,7 @@ export REFRAME_ARGS="${REFRAME_CI_TAG} ${REFRAME_SCALE_TAG} ${REFRAME_ADDITIONAL

# List the tests we want to run
echo "Listing tests: reframe ${REFRAME_ARGS} --list"
reframe ${REFRAME_CI_TAG} ${REFRAME_SCALE_TAG} ${REFRAME_ADDITIONAL_ARGS} --nocolor ${REFRAME_NAME_ARGS} --list
reframe ${REFRAME_CI_TAG} ${REFRAME_SCALE_TAG} ${REFRAME_ADDITIONAL_ARGS} --nocolor "${REFRAME_NAME_ARGS}" --list -v
if [[ $? -eq 0 ]]; then
echo_green "Succesfully listed ReFrame tests with command: reframe ${REFRAME_ARGS} --list"
else
Expand All @@ -278,7 +278,7 @@ fi

# Run all tests
echo "Running tests: reframe ${REFRAME_ARGS} --run"
reframe ${REFRAME_CI_TAG} ${REFRAME_SCALE_TAG} ${REFRAME_ADDITIONAL_ARGS} --nocolor ${REFRAME_NAME_ARGS} --run
reframe ${REFRAME_CI_TAG} ${REFRAME_SCALE_TAG} ${REFRAME_ADDITIONAL_ARGS} --nocolor "${REFRAME_NAME_ARGS}" --run
reframe_exit_code=$?
if [[ ${reframe_exit_code} -eq 0 ]]; then
echo_green "ReFrame runtime ran succesfully with command: reframe ${REFRAME_ARGS} --run."
Expand Down

0 comments on commit f500cb8

Please sign in to comment.