1 # Makefile.in for tests
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2005 The OpenLDAP Foundation.
6 ## All rights reserved.
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
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>.
21 BUILD_LDBM=@BUILD_LDBM@
24 # test primary backends (default)
34 bdb test-bdb: bdb-$(BUILD_BDB)
36 @echo "run configure with --enable-bdb to run BDB tests"
38 bdb-yes bdb-mod: FORCE
39 @echo "Initiating LDAP tests for BDB..."
42 hdb test-hdb: hdb-$(BUILD_HDB)
44 @echo "run configure with --enable-hdb to run HDB tests"
46 hdb-yes hdb-mod: FORCE
47 @echo "Initiating LDAP tests for HDB..."
50 ldbm test-ldbm: ldbm-$(BUILD_LDBM)
52 @echo "run configure with --enable-ldbm to run LDBM tests"
54 ldbm-yes ldbm-mod: FORCE
55 @echo "Initiating LDAP tests for LDBM..."
58 sql test-sql: sql-$(BUILD_SQL)
60 @echo "run configure with --enable-sql to run SQL tests"
62 sql-yes sql-mod: FORCE
63 @echo "Initiating LDAP tests for SQL..."
64 @$(RUN) -b sql sql-all
67 -$(RM) -r testrun *leak *gmon *core
69 veryclean-local: FORCE
70 @-$(RM) run testdata schema ucdata