]> git.sur5r.net Git - openldap/commitdiff
Add bdb tests
authorKurt Zeilenga <kurt@openldap.org>
Thu, 28 Sep 2000 04:10:35 +0000 (04:10 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 28 Sep 2000 04:10:35 +0000 (04:10 +0000)
tests/Makefile.in

index ff5467d677a37b9c860a294fdd452fff1ede7422..400a349952dac8ea0df992818605cf6b09e83a7d 100644 (file)
@@ -9,6 +9,19 @@ BUILD_LDBM=@BUILD_LDBM@
 test: tests
 tests: ldbm
 
+bdb: test-bdb
+test-bdb:      FORCE
+       @-$(LN_S) $(srcdir)/data .
+       @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
+       @-$(LN_S) ../libraries/liblunicode/ucdata .
+       @if test "$(BUILD_LDBM)" = "yes" ; then \
+               echo "Initiating LDAP tests for BDB..." ; \
+               $(MKDIR) test-db test-repl || true; \
+               $(srcdir)/scripts/all $(srcdir) bdb ; \
+       else \
+               echo "run configure with --enable-bdb" ; \
+       fi
+
 ldbm: test-ldbm
 test-ldbm:     FORCE
        @-$(LN_S) $(srcdir)/data .