]> git.sur5r.net Git - openldap/blob - tests/Makefile.in
Do not require ac/string.h for lber_pvt.h
[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-2018 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         @$(MAKE) ldif
34
35 bdb test-bdb:   bdb-$(BUILD_BDB)
36 bdb-no:
37         @echo "run configure with --enable-bdb to run BDB tests"
38
39 bdb-yes bdb-mod: FORCE
40         @echo "Initiating LDAP tests for BDB..."
41         @$(RUN) -b bdb all
42
43 hdb test-hdb:   hdb-$(BUILD_HDB)
44 hdb-no:
45         @echo "run configure with --enable-hdb to run HDB tests"
46
47 hdb-yes hdb-mod: FORCE
48         @echo "Initiating LDAP tests for HDB..."
49         @$(RUN) -b hdb all
50
51 mdb test-mdb:   mdb-$(BUILD_MDB)
52 mdb-no:
53         @echo "run configure with --enable-mdb to run MDB tests"
54
55 mdb-yes mdb-mod: FORCE
56         @echo "Initiating LDAP tests for MDB..."
57         @$(RUN) -b mdb all
58
59 sql test-sql:   sql-$(BUILD_SQL)
60 sql-no:
61         @echo "run configure with --enable-sql to run SQL tests"
62
63 sql-yes sql-mod:        FORCE
64         @echo "Initiating LDAP tests for SQL..."
65         @$(RUN) -b sql sql-all
66
67 ldif test-ldif: FORCE
68         @echo "Initiating LDAP tests for LDIF..."
69         @$(RUN) -b ldif all
70
71 regressions:    FORCE
72         @echo "Testing (available) ITS regressions"
73         @$(MAKE) bdb-its
74         @$(MAKE) hdb-its
75         @$(MAKE) mdb-its
76
77 its: regressions
78
79 bdb-its: bdb-its-$(BUILD_BDB)
80 bdb-its-no:
81         @echo "run configure with --enable-bdb to run BDB ITS regressions"
82
83 bdb-its-yes bdb-its-mod: FORCE
84         @$(RUN) -b bdb its-all
85
86 hdb-its: hdb-its-$(BUILD_HDB)
87 hdb-its-no:
88         @echo "run configure with --enable-hdb to run HDB ITS regressions"
89
90 hdb-its-yes hdb-its-mod: FORCE
91         @$(RUN) -b hdb its-all
92
93 mdb-its: mdb-its-$(BUILD_MDB)
94 mdb-its-no:
95         @echo "run configure with --enable-mdb to run MDB ITS regressions"
96
97 mdb-its-yes mdb-its-mod: FORCE
98         @$(RUN) -b mdb its-all
99
100 clean-local:    FORCE
101         -$(RM) -r testrun configpw configpw.conf *leak *gmon *core
102
103 veryclean-local: FORCE
104         @-$(RM) run testdata schema ucdata
105