]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Attempt to ensure that ctest job output gets uploaded
authorKern Sibbald <kern@sibbald.com>
Sun, 27 Jan 2019 16:14:05 +0000 (17:14 +0100)
committerKern Sibbald <kern@sibbald.com>
Sun, 27 Jan 2019 16:14:05 +0000 (17:14 +0100)
regress/nightly-all
regress/nightly-disk
regress/nightly-disk-and-tape
regress/nightly-tape

index bcfce501eb01f958de8297fd12e79d18ff15cc98..c43a2683b8912c317c946c4e8964377f17735e92 100755 (executable)
@@ -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
index 5229d02d786d341e0d6813ea78adcd184d3becc6..18e3ca3249468ef287fb7e14f018f61c1eb06f0e 100755 (executable)
@@ -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
index 35907da739108fdf0120d92692f4386fbb983829..6e87fd1ae33925b0e7fdaee8b8842602ae4bf7cc 100755 (executable)
@@ -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
index e0624741b0c0453a37d03d763eaf01bdb1083cdd..c2151c8d144703716c0492490113e00c0419595c 100755 (executable)
@@ -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