mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-06 15:00:40 +08:00
'make test' now tests both BDB2 and LDBM backends.
'make bdb2' tests only BDB2 'make ldbm' tests only LDBM Fix up scripts (previous changes broke BDB2 testing)
This commit is contained in:
parent
f16846eb15
commit
6585d34a0f
@ -6,6 +6,10 @@ SUBDIRS= progs
|
||||
|
||||
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 \
|
||||
@ -16,8 +20,7 @@ test-bdb2: FORCE
|
||||
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..."
|
||||
|
@ -6,10 +6,10 @@ else
|
||||
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
|
||||
|
||||
|
@ -6,10 +6,10 @@ else
|
||||
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
|
||||
|
||||
|
@ -6,9 +6,10 @@ else
|
||||
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..."
|
||||
|
@ -6,9 +6,10 @@ else
|
||||
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..."
|
||||
|
@ -6,9 +6,10 @@ else
|
||||
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..."
|
||||
|
@ -6,9 +6,10 @@ else
|
||||
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..."
|
||||
|
@ -6,9 +6,10 @@ else
|
||||
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..."
|
||||
|
@ -16,9 +16,10 @@ else
|
||||
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
|
||||
|
@ -6,10 +6,10 @@ else
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user