Skip to content

Commit

Permalink
Merge branch 'develop' into feature/new_sfcsub
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeGayno-NOAA committed Aug 11, 2022
2 parents ff5a4fd + 2a07b2c commit 08baaf0
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions reg_tests/rt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,25 @@ rm -f reg_test_results.txt
rm -rf UFS_UTILS

git clone --recursive https://github.com/ufs-community/UFS_UTILS.git
rc=$?

# Check to see if the clone was successful. Previously, it has
# failed due to lack of disk space.

if [[ $rc == 0 ]] && [[ -d UFS_UTILS ]];then
echo "Clone Successful"
else
target=`hostname -s`
if [[ -d /lfs3 ]] ; then
target=Jet
elif [[ -d /lfs/h1 ]] ; then
target=WCOSS2
elif [[ -d /scratch1 ]] ; then
target=Hera
fi
echo "Clone Failed" | mail -s "UFS_UTILS Consistency Tests failed on ${target}" ${MAILTO}
fi

cd UFS_UTILS

source sorc/machine-setup.sh
Expand Down

0 comments on commit 08baaf0

Please sign in to comment.