2 ## Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
3 ## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5 ## tests Makefile.in for OpenLDAP
7 BUILD_LDBM=@BUILD_LDBM@
14 @-$(LN_S) $(srcdir)/data .
15 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
16 @if test "$(BUILD_LDBM)" = "yes" ; then \
17 echo "Initiating LDAP tests for LDBM..." ; \
18 $(MKDIR) test-db test-repl || true; \
19 $(srcdir)/scripts/all $(srcdir) ldbm ; \
21 echo "run configure with --enable-ldbm" ; \
26 @-$(LN_S) $(srcdir)/data .
27 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
28 @echo "Initiating LDAP tests..."
29 @-$(MKDIR) test-db test-repl || true
30 @$(srcdir)/scripts/passwd-search $(srcdir) passwd
32 test-nis-schema: test-nis-schema-ldbm
34 @-$(LN_S) $(srcdir)/data .
35 @-$(LN_S) $(top_srcdir)/servers/slapd/schema .
36 @echo "Initiating LDAP server with NIS schema & ldbm backend..."; \
37 $(MKDIR) test-db test-repl ; \
38 $(srcdir)/scripts/startup_nis_ldap_server.sh $(srcdir) ldbm
41 -$(RM) test-db/[!C]* test-repl/[!C]* *leak *gmon *core
43 veryclean-local: FORCE
45 $(RM) -r test-db test-repl