BUILD_BDB2 = @BUILD_BDB2@
+test: tests
+tests: bdb2 ldbm
+
+bdb2: test-bdb2
test-bdb2: FORCE
@-$(LN_S) $(srcdir)/data .
@if test "$(BUILD_BDB2)" = "yes" ; then \
echo "run configure with --enable-bdb2" ; \
fi
-tests: test-ldbm
-test: test-ldbm
+ldbm: test-ldbm
test-ldbm: FORCE
@-$(LN_S) $(srcdir)/data .
@echo "Initiating LDAP tests..."
SRCDIR=$1; shift
fi
if [ $# -eq 1 ]; then
- BDB2=$1; shift
+ BACKEND=$1; shift
fi
-echo "running defines.sh $SRCDIR $BDB2"
+echo "running defines.sh $SRCDIR $BACKEND"
. $SRCDIR/scripts/defines.sh
SRCDIR=$1; shift
fi
if [ $# -eq 1 ]; then
- BDB2=$1; shift
+ BACKEND=$1; shift
fi
-echo "running defines.sh $SRCDIR $BDB2"
+echo "running defines.sh $SRCDIR $BACKEND"
. $SRCDIR/scripts/defines.sh
SRCDIR=$1; shift
fi
if [ $# -eq 1 ]; then
- BDB2=$1; shift
+ BACKEND=$1; shift
fi
+echo "running defines.sh $SRCDIR $BACKEND"
. $SRCDIR/scripts/defines.sh
echo "Cleaning up in $DBDIR..."
SRCDIR=$1; shift
fi
if [ $# -eq 1 ]; then
- BDB2=$1; shift
+ BACKEND=$1; shift
fi
+echo "running defines.sh $SRCDIR $BACKEND"
. $SRCDIR/scripts/defines.sh
echo "Cleaning up in $DBDIR..."
SRCDIR=$1; shift
fi
if [ $# -eq 1 ]; then
- BDB2=$1; shift
+ BACKEND=$1; shift
fi
+echo "running defines.sh $SRCDIR $BACKEND"
. $SRCDIR/scripts/defines.sh
echo "Cleaning up in $DBDIR..."
SRCDIR=$1; shift
fi
if [ $# -eq 1 ]; then
- BDB2=$1; shift
+ BACKEND=$1; shift
fi
+echo "running defines.sh $SRCDIR $BACKEND"
. $SRCDIR/scripts/defines.sh
echo "Cleaning up in $DBDIR..."
SRCDIR=$1; shift
fi
if [ $# -eq 1 ]; then
- BDB2=$1; shift
+ BACKEND=$1; shift
fi
+echo "running defines.sh $SRCDIR $BACKEND"
. $SRCDIR/scripts/defines.sh
echo "Cleaning up in $DBDIR..."
SRCDIR=$1; shift
fi
if [ $# -eq 1 ]; then
- BDB2=$1; shift
+ BACKEND=$1; shift
fi
+echo "running defines.sh $SRCDIR $BACKEND"
. $SRCDIR/scripts/defines.sh
if test ! -x $SLURPD ; then
SRCDIR=$1; shift
fi
if [ $# -eq 1 ]; then
- BDB2=$1; shift
+ BACKEND=$1; shift
fi
-echo "running defines.sh $SRCDIR $BDB2"
+echo "running defines.sh $SRCDIR $BACKEND"
. $SRCDIR/scripts/defines.sh