mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
23 lines
496 B
Makefile
23 lines
496 B
Makefile
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 all
|
|
|
|
servers clients tests/progs:
|
|
ln -s $(abspath $(LDAP_BUILD))/$@ $@
|
|
|
|
d := $(dirstack_$(sp))
|
|
sp := $(basename $(sp))
|