]> git.sur5r.net Git - bacula/bacula/commitdiff
Made shorter developers test
authorKern Sibbald <kern@sibbald.com>
Fri, 21 Aug 2009 11:41:35 +0000 (13:41 +0200)
committerKern Sibbald <kern@sibbald.com>
Fri, 21 Aug 2009 11:41:35 +0000 (13:41 +0200)
regress/all-dev-tests [new file with mode: 0755]
regress/do_dev [new file with mode: 0755]

diff --git a/regress/all-dev-tests b/regress/all-dev-tests
new file mode 100755 (executable)
index 0000000..1131550
--- /dev/null
@@ -0,0 +1,75 @@
+#!/bin/sh
+#
+# Run a sample of tests. These tests should be relatively short
+#   so that developers can test before committing
+#
+echo " "
+echo " " >>test.out
+echo "Start non-root disk tests"
+echo "Start non-root disk tests" >>test.out
+nice tests/acl-xattr-test
+nice tests/auto-label-test
+nice tests/backup-bacula-test
+nice tests/bextract-test
+nice tests/bscan-test
+nice tests/bsr-opt-test
+nice tests/compressed-test
+nice tests/compress-encrypt-test
+nice tests/concurrent-jobs-test
+nice tests/copy-job-test
+nice tests/encrypt-bug-test
+nice tests/estimate-test
+nice tests/fifo-test
+nice tests/fileregexp-test
+nice tests/backup-to-null
+nice tests/regexwhere-test
+nice tests/differential-test
+nice tests/four-jobs-test
+nice tests/incremental-test
+nice tests/query-test
+nice tests/recycle-test
+nice tests/restore2-by-file-test
+nice tests/restore-by-file-test
+nice tests/restore-disk-seek-test
+nice tests/runscript-test
+nice tests/next-vol-test
+nice tests/sparse-test
+nice tests/strip-test
+nice tests/two-jobs-test
+nice tests/two-vol-test
+nice tests/verify-cat-test
+nice tests/verify-vol-test
+nice tests/weird-files2-test
+nice tests/weird-files-test
+nice tests/migration-job-test
+nice tests/multi-storage-test
+nice tests/hardlink-test
+nice tests/tls-test
+nice tests/virtual-changer-test
+nice tests/virtual-backup-test
+echo "End non-root disk tests"
+echo "End non-root disk tests" >>test.out
+
+# 
+# The following are Disk Autochanger tests
+echo " "
+echo " " >>test.out
+echo "Start non-root virtual disk autochanger tests"
+echo "Start non-root virtual disk autochanger tests" >>test.out
+#nice tests/three-pool-recycle-test
+nice tests/two-pool-test
+nice tests/fast-two-pool-test
+nice tests/two-volume-test
+nice tests/incremental-2disk
+nice tests/2drive-incremental-2disk
+nice tests/scratch-pool-test
+nice tests/scratchpool-pool-test
+nice tests/2drive-concurrent-test
+nice tests/incremental-2media
+nice tests/three-pool-test
+nice tests/2drive-3pool-test
+nice tests/2drive-swap-test
+# Turn back on after next_vol.c bug is fixed
+#  nice tests/next-vol-test
+echo "End non-root virtual disk autochanger tests"
+echo "End non-root virtual disk autochanger tests" >>test.out
diff --git a/regress/do_dev b/regress/do_dev
new file mode 100755 (executable)
index 0000000..5c92853
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# Relatively small quick regression for developers to test
+#  before committing
+#
+nice make setup
+echo " " >test.out
+cat build/config.out >>test.out
+echo " " >>test.out
+echo "Test results" >>test.out
+echo " " >>test.out
+./starttime
+nice ./all-dev-tests
+echo " "
+echo "End do_file tests"
+echo "End do_file tests" >>test.out
+scripts/cleanup
+cat test.out
+./endtime