X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Fnightly-all;h=7f817952a8e959fdef9db59f565544e6dfa02f74;hb=d19a08817542ab4ef7f3a6ec12b9cd13c3a6d6e5;hp=a709a28e00beb9a4d4495b414945329321243ddf;hpb=aa5df03cc4984e554e9fbde0efe976db98773b83;p=bacula%2Fbacula diff --git a/regress/nightly-all b/regress/nightly-all index a709a28e00..7f817952a8 100755 --- a/regress/nightly-all +++ b/regress/nightly-all @@ -3,9 +3,28 @@ # 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 -scripts/do_sed -ctest -D Nightly -R "all-non-root.*" +rm -rf Testing +git pull +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-all `date`"