Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / bsd / openldap / dist / tests / Makefile.in
blob170189e2846a7f5123d16300ec7c4628901085dd
1 # Makefile.in for tests
2 # $OpenLDAP: pkg/ldap/tests/Makefile.in,v 1.60.2.4 2008/02/11 23:26:50 kurt Exp $
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2008 The OpenLDAP Foundation.
6 ## All rights reserved.
7 ##
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
10 ## Public License.
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
16 RUN=./run
17 SUBDIRS= progs
19 BUILD_BDB=@BUILD_BDB@
20 BUILD_HDB=@BUILD_HDB@
21 BUILD_SQL=@BUILD_SQL@
23 # test primary backends (default)
24 test tests:
25 @$(MAKE) bdb
26 @$(MAKE) hdb
28 # test all backends
29 alltests: tests
30 @$(MAKE) sql
32 bdb test-bdb: bdb-$(BUILD_BDB)
33 bdb-no:
34 @echo "run configure with --enable-bdb to run BDB tests"
36 bdb-yes bdb-mod: FORCE
37 @echo "Initiating LDAP tests for BDB..."
38 @$(RUN) -b bdb all
40 hdb test-hdb: hdb-$(BUILD_HDB)
41 hdb-no:
42 @echo "run configure with --enable-hdb to run HDB tests"
44 hdb-yes hdb-mod: FORCE
45 @echo "Initiating LDAP tests for HDB..."
46 @$(RUN) -b hdb all
48 sql test-sql: sql-$(BUILD_SQL)
49 sql-no:
50 @echo "run configure with --enable-sql to run SQL tests"
52 sql-yes sql-mod: FORCE
53 @echo "Initiating LDAP tests for SQL..."
54 @$(RUN) -b sql sql-all
56 regressions: FORCE
57 @echo "Testing (available) ITS regressions"
58 @$(RUN) its-all
60 its: regressions
62 clean-local: FORCE
63 -$(RM) -r testrun configpw configpw.conf *leak *gmon *core
65 veryclean-local: FORCE
66 @-$(RM) run testdata schema ucdata