#
SITE_NAME=<your-name>-bacula-${HOST}
+# If you want to use the full source tree to run test uncomment this
+# KEEP_SOURCE=yes
+
#
# The following are used only if you want to run Win32 tests, which
# is a real pain since the Win32 machine is not localhost and you
make -j3
check_exit_code
make install
-rm -rf examples patches
-check_exit_code
-# eliminate non-essential directories to reduce
-# size. Otherwise regress run too long
-rm -rf src/win32 examples patches
+if [ a$KEEP_SOURCE = a ]; then
+ rm -rf examples patches
+ check_exit_code
+ # eliminate non-essential directories to reduce
+ # size. Otherwise regress run too long
+ rm -rf src/win32 examples patches
+fi
# get all tools -- especially testls
cd src/tools
make installall