]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/regress-config
Welcome to self-contained regression testing.
[bacula/bacula] / regress / scripts / regress-config
index 6f8d9476712767dc514a3ee3a07063818f5b228b..8d3abd6f9d2eb5d0547efe6bdfeb9990b3e387fc 100755 (executable)
@@ -3,24 +3,27 @@
 # This is the configuration script for regression testing
 #
 
+. ${1}/config
+
 CFLAGS="-g -O2 -Wall" \
  ./configure \
-    --sbindir=$1/bin \
-    --sysconfdir=$1/bin \
-    --mandir=$1/bin \
-    --with-pid-dir=$1/working \
-    --with-subsys-dir=$1/working \
+    --sbindir=${1}/bin \
+    --archivedir=${1}/tmp \
+    --sysconfdir=${1}/bin \
+    --mandir=${1}/bin \
+    --with-pid-dir=${1}/working \
+    --with-subsys-dir=${1}/working \
     --enable-smartalloc \
     --disable-readline \
-    --with-working-dir=$1/working \
-    --with-dump-email=$2 \
-    --with-job-email=$2 \
-    --with-smtp-host=$5 \
+    --with-working-dir=${1}/working \
+    --with-dump-email=${EMAIL} \
+    --with-job-email=${EMAIL} \
+    --with-smtp-host=${SMTP_HOST} \
     --with-db-name=regress \
     --with-db-user=regress \
-    $3 \
-    --with-baseport=8101 \
-    $4 \
-    $6
+    ${OPENSSL} \
+    ${TCPWRAPPERS} \
+    ${WHICHDB} \
+    --with-baseport=8101
 
 exit 0