X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Fnightly-all;h=28651ec3e589e38dff773fcf7096cc4f62329a87;hb=fc7ff23a3f3dc36ac85622c43c1337fba79f15d8;hp=644965aa50b6868a3557a8d5915c2faacbd41b34;hpb=64782306894859860938e90218d54d6877b12050;p=bacula%2Fbacula diff --git a/regress/nightly-all b/regress/nightly-all index 644965aa50..28651ec3e5 100755 --- a/regress/nightly-all +++ b/regress/nightly-all @@ -3,9 +3,29 @@ # run both the disk and the tape based regression tests. # # Include full output +LANG=C +echo "Begin nightly-all `date`" save_debug=${REGRESS_DEBUG} REGRESS_DEBUG=1 export REGRESS_DEBUG +rm -rf Testing +rm -f dumps/* +git pull +make distclean scripts/config_dart -nice ctest -D Nightly -R "all-non-root.*" +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-all `date`"