From: Kern Sibbald Date: Sun, 27 Jan 2019 16:14:05 +0000 (+0100) Subject: Attempt to ensure that ctest job output gets uploaded X-Git-Tag: Release-9.4.2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2626eb66bf5cdd7e8a22863b8ed42637018e8fb5;p=thirdparty%2Fbacula.git Attempt to ensure that ctest job output gets uploaded --- diff --git a/regress/nightly-all b/regress/nightly-all index bcfce501e..c43a2683b 100755 --- a/regress/nightly-all +++ b/regress/nightly-all @@ -12,12 +12,14 @@ LANG=C echo "Begin nightly-all `date`" REGRESS_DEBUG=1 export REGRESS_DEBUG +CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE=2000000 +export CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE rm -rf Testing rm -f dumps/* git pull make distclean scripts/config_dart -nice ctest -D Nightly -R "^(disk|tape|changer):" +nice ctest --output-on-failure -D Nightly -R "^(disk|tape|changer):" rtn=$? i=0 while [ $i -le 5 ]; do diff --git a/regress/nightly-disk b/regress/nightly-disk index 5229d02d7..18e3ca324 100755 --- a/regress/nightly-disk +++ b/regress/nightly-disk @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2000-2015 Kern Sibbald +# Copyright (C) 2000-2019 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS # @@ -12,6 +12,8 @@ LANG=C echo "Begin nightly-disk `date`" REGRESS_DEBUG=1 export REGRESS_DEBUG +CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE=2000000 +export CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE rm -rf Testing rm -f dumps/* git pull @@ -26,7 +28,7 @@ git pull make distclean scripts/config_dart make setup -nice ctest -D Nightly -R "^disk:" +nice ctest --output-on-failure -D Nightly -R "^disk:" rtn=$? i=0 while [ $i -le 5 ]; do diff --git a/regress/nightly-disk-and-tape b/regress/nightly-disk-and-tape index 35907da73..6e87fd1ae 100755 --- a/regress/nightly-disk-and-tape +++ b/regress/nightly-disk-and-tape @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2000-2015 Kern Sibbald +# Copyright (C) 2000-2019 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS # @@ -12,12 +12,14 @@ LANG=C echo "Begin nightly-disk-and-tape `date`" REGRESS_DEBUG=1 export REGRESS_DEBUG +CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE=2000000 +export CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE rm -rf Testing rm -f dumps/* git pull make distclean scripts/config_dart -nice ctest -D Experimental -R "^(disk|tape):" +nice ctest --output-on-failure -D Experimental -R "^(disk|tape):" rtn=$? i=0 while [ $i -le 5 ]; do diff --git a/regress/nightly-tape b/regress/nightly-tape index e0624741b..c2151c8d1 100755 --- a/regress/nightly-tape +++ b/regress/nightly-tape @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2000-2015 Kern Sibbald +# Copyright (C) 2000-2019 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS # @@ -12,12 +12,14 @@ LANG=C echo "Begin nightly-tape `date`" REGRESS_DEBUG=1 export REGRESS_DEBUG +CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE=2000000 +export CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE rm -rf Testing rm -f dumps/* git pull make distclean scripts/config_dart -nice ctest -D Nightly -R "^tape:" +nice ctest --output-on-failure -D Nightly -R "^tape:" rtn=$? i=0 while [ $i -le 5 ]; do