Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions tests/WE2E/run_WE2E_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,16 @@ if [ -z "${machine}" ]; then
The argument \"machine\" specifying the machine or platform on which to
run the WE2E tests was not specified in the call to this script. \
${help_msg}"
fi
# Cheyenne-specific test limitation

if [ "${machine,,}" = "cheyenne" ]; then
use_cron_to_relaunch=FALSE
echo "
Due to system limitations, the 'use_cron_to_relaunch' command can not be used on
the '${machine}' machine. Setting this variable to false.

"
fi

if [ -z "${account}" ]; then
Expand Down Expand Up @@ -1298,6 +1308,38 @@ Could not generate an experiment for the test specified by test_name:
test_name = \"${test_name}\""

done

# Print notes about monitoring/running jobs if use_cron_to_relaunch = FALSE
topdir=${scrfunc_dir%/*/*/*}
expt_dirs_fullpath="${topdir}/expt_dirs"

echo "
========================================================================
========================================================================

All experiments have been generated in the directory
${expt_dirs_fullpath}

========================================================================
========================================================================
"

if [ "${use_cron_to_relaunch,,}" = "false" ]; then
echo "

The variable 'use_cron_to_relaunch' has been set to FALSE. Jobs will not be automatically run via crontab.

You can run each task manually in the experiment directory:
(${expt_dirs_fullpath})

Or you can use the 'run_srw_tests.py' script in the ush/ directory:

cd $USHdir
./run_srw_tests.py -e=${expt_dirs_fullpath}

"
fi

#
#-----------------------------------------------------------------------
#
Expand Down