From 5b48d68899560d576e49afd3a5be983c8205a485 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 21 Aug 2009 13:41:35 +0200 Subject: [PATCH] Made shorter developers test --- regress/all-dev-tests | 75 +++++++++++++++++++++++++++++++++++++++++++ regress/do_dev | 19 +++++++++++ 2 files changed, 94 insertions(+) create mode 100755 regress/all-dev-tests create mode 100755 regress/do_dev diff --git a/regress/all-dev-tests b/regress/all-dev-tests new file mode 100755 index 0000000000..1131550a15 --- /dev/null +++ b/regress/all-dev-tests @@ -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 index 0000000000..5c928531f9 --- /dev/null +++ b/regress/do_dev @@ -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 -- 2.39.5