X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Fnightly-all;h=7f817952a8e959fdef9db59f565544e6dfa02f74;hb=d19a08817542ab4ef7f3a6ec12b9cd13c3a6d6e5;hp=153b4002eedb12fe82f70327f7b9a6e5940f118f;hpb=dd1a919c9c55b5db029154e33637f298c93fbde6;p=bacula%2Fbacula diff --git a/regress/nightly-all b/regress/nightly-all index 153b4002ee..7f817952a8 100755 --- a/regress/nightly-all +++ b/regress/nightly-all @@ -2,4 +2,29 @@ # # run both the disk and the tape based regression tests. # -ctest -D Nightly -R "all-non-root.*" +# Include full output +LANG=C +echo "Begin nightly-all `date`" +save_debug=${REGRESS_DEBUG} +REGRESS_DEBUG=1 +export REGRESS_DEBUG +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`"