]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/do_all_tests
regress: enhance short-incremental-test
[bacula/bacula] / regress / do_all_tests
index 44be9b0f946f53e06f882c0a72d2c4614ff2676d..4d4a99f1fa7839fb0d5a12c5a59a9e6306e9d39c 100755 (executable)
@@ -1,12 +1,28 @@
 #!/bin/sh
+#
+# Copyright (C) 2000-2017 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+
 ./starttime
 if [ ! -f bin/tape_options ] ; then
   touch bin/tape_options
 fi
 echo " " >test.out
-cat build/config.out >>test.out
+if [ x$PREBUILT != xyes ]; then
+  git status >>test.out 2>&1
+  cat build/config.out >>test.out
+fi
 echo " " >>test.out
-echo "Test results" >>test.out
+if [ x$FORCE_DEDUP = xyes ]; then
+  echo "Test results with dedup" >>test.out
+elif [ x$FORCE_ALIGNED = xyes ]; then
+  echo "Test results with aligned" >>test.out
+elif [ x$FORCE_CLOUD = xyes ]; then
+  echo "Test results with cloud" >>test.out
+else
+  echo "Test results" >>test.out
+fi
 echo " " >>test.out
 ./starttime
 ./all-disk-tests
@@ -15,6 +31,8 @@ echo " " >>test.out
 echo " "
 echo "End do_all tests"
 echo "End do_all tests" >>test.out
+./endtime >>test.out
 scripts/cleanup
 cat test.out
 ./endtime
+date