summaryrefslogtreecommitdiffstats
path: root/contrib/slapd-modules/ciboolean/tests/Rules.mk
blob: e64d925841e09c0f4883158ea9ce5e4f355895ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
sp := $(sp).x
dirstack_$(sp) := $(d)
d := $(dir)

.PHONY: test

CLEAN += clients servers tests/progs tests/schema tests/testdata tests/testrun

test: all clients servers tests/progs

test:
	cd tests; \
		SRCDIR=$(abspath $(LDAP_SRC)) \
		LDAP_BUILD=$(abspath $(LDAP_BUILD)) \
		TOPDIR=$(abspath $(SRCDIR)) \
		LIBTOOL=$(abspath $(LIBTOOL)) \
			$(abspath $(SRCDIR))/tests/run test001-ciboolean

servers clients tests/progs:
	ln -s $(abspath $(LDAP_BUILD))/$@ $@

d := $(dirstack_$(sp))
sp := $(basename $(sp))