Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
Added nightly-disk-and-tape-and-changer script
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Sep 30, 2016
1 parent 0a1f4de commit cb7cfe3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions nightly-disk-and-tape-and-changer
@@ -0,0 +1,32 @@
#!/bin/sh
#
# test only the disk based regression scripts
#
set -a

# Include full output
LANG=C
echo "Begin nightly-disk-and-tape-and-changer `date`"
save_debug=${REGRESS_DEBUG}
REGRESS_DEBUG=1
export REGRESS_DEBUG
rm -rf Testing
rm -f dumps/*
make distclean
scripts/config_dart
nice ctest -D Nightly -R "^(disk|tape|changer):"
rtn=$?
i=0
while [ $i -le 5 ]; do
if [ $rtn = 0 ] || [ "$rtn" = "8" ] ; then
break;
fi
echo "Submit failed, waiting 5 mins"
sleep 300
echo "ctest failed re-running Submit"
ctest -D NightlySubmit
rtn=$?
i=`expr $i + 1`
done
REGRESS_DEBUG=${save_debug}
echo "End nightly-disk-and-tape-and-changer `date`"

0 comments on commit cb7cfe3

Please sign in to comment.