mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Rebuild configure scripts with --enable-hdb support
Add HDB to test suite
This commit is contained in:
parent
e9bd75ae9b
commit
d6f82a74c1
@ -965,6 +965,12 @@
|
||||
/* define to support dynamic DNS SRV backend */
|
||||
#undef SLAPD_DNSSRV_DYNAMIC
|
||||
|
||||
/* define to support HDB backend */
|
||||
#undef SLAPD_HDB
|
||||
|
||||
/* define to support dynamic HDB backend */
|
||||
#undef SLAPD_HDB_DYNAMIC
|
||||
|
||||
/* define to support LDAP backend */
|
||||
#undef SLAPD_LDAP
|
||||
|
||||
|
@ -4,12 +4,13 @@
|
||||
##
|
||||
## tests Makefile.in for OpenLDAP
|
||||
SUBDIRS= progs
|
||||
BUILD_LDBM=@BUILD_LDBM@
|
||||
BUILD_BDB=@BUILD_BDB@
|
||||
BUILD_HDB=@BUILD_HDB@
|
||||
BUILD_LDBM=@BUILD_LDBM@
|
||||
BUILD_MONITOR=@BUILD_MONITOR@
|
||||
|
||||
test: tests
|
||||
tests: bdb ldbm
|
||||
tests: bdb hdb ldbm
|
||||
|
||||
bdb: test-bdb
|
||||
test-bdb: FORCE
|
||||
@ -24,6 +25,19 @@ test-bdb: FORCE
|
||||
echo "run configure with --enable-bdb" ; \
|
||||
fi
|
||||
|
||||
hdb: test-hdb
|
||||
test-hdb: FORCE
|
||||
@-$(LN_S) $(srcdir)/data .
|
||||
@-$(LN_S) $(top_srcdir)/servers/slapd/schema .
|
||||
@-$(LN_S) ../libraries/liblunicode ucdata
|
||||
@if test "$(BUILD_BDB)" = "yes" ; then \
|
||||
echo "Initiating LDAP tests for HDB..." ; \
|
||||
$(MKDIR) test-db test-repl || true; \
|
||||
$(srcdir)/scripts/all $(srcdir) hdb $(BUILD_MONITOR) ; \
|
||||
else \
|
||||
echo "run configure with --enable-hdb" ; \
|
||||
fi
|
||||
|
||||
ldbm: test-ldbm
|
||||
test-ldbm: FORCE
|
||||
@-$(LN_S) $(srcdir)/data .
|
||||
|
Loading…
Reference in New Issue
Block a user