]> git.sur5r.net Git - openldap/blob - tests/Makefile.in
Fix SLAP_CONFIG_DELETE ifdef (already fixed in RE24)
[openldap] / tests / Makefile.in
1 # Makefile.in for tests
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2011 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.
11 ##
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>.
15
16 RUN=./run
17 SUBDIRS= progs
18
19 BUILD_BDB=@BUILD_BDB@
20 BUILD_HDB=@BUILD_HDB@
21 BUILD_MDB=@BUILD_MDB@
22 BUILD_SQL=@BUILD_SQL@
23
24 # test primary backends (default)
25 test tests:
26         @$(MAKE) bdb
27         @$(MAKE) hdb
28         @$(MAKE) mdb
29
30 # test all backends
31 alltests: tests
32         @$(MAKE) sql
33
34 bdb test-bdb:   bdb-$(BUILD_BDB)
35 bdb-no:
36         @echo "run configure with --enable-bdb to run BDB tests"
37
38 bdb-yes bdb-mod: FORCE
39         @echo "Initiating LDAP tests for BDB..."
40         @$(RUN) -b bdb all
41
42 hdb test-hdb:   hdb-$(BUILD_HDB)
43 hdb-no:
44         @echo "run configure with --enable-hdb to run HDB tests"
45
46 hdb-yes hdb-mod: FORCE
47         @echo "Initiating LDAP tests for HDB..."
48         @$(RUN) -b hdb all
49
50 mdb test-mdb:   mdb-$(BUILD_MDB)
51 mdb-no:
52         @echo "run configure with --enable-mdb to run MDB tests"
53
54 mdb-yes mdb-mod: FORCE
55         @echo "Initiating LDAP tests for MDB..."
56         @$(RUN) -b mdb all
57
58 sql test-sql:   sql-$(BUILD_SQL)
59 sql-no:
60         @echo "run configure with --enable-sql to run SQL tests"
61
62 sql-yes sql-mod:        FORCE
63         @echo "Initiating LDAP tests for SQL..."
64         @$(RUN) -b sql sql-all
65
66 ldif test-ldif: FORCE
67         @echo "Initiating LDAP tests for LDIF..."
68         @$(RUN) -b ldif all
69
70 regressions:    FORCE
71         @echo "Testing (available) ITS regressions"
72         @$(RUN) its-all
73
74 its: regressions
75
76 clean-local:    FORCE
77         -$(RM) -r testrun configpw configpw.conf *leak *gmon *core
78
79 veryclean-local: FORCE
80         @-$(RM) run testdata schema ucdata
81