summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: 243b8696249cf4e0cb3f7d84fc7193cd5d0ea85d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

INCLUDES = \
	-I$(top_srcdir) \
	-I$(top_srcdir)/p11-kit \
	-I$(srcdir)/cutest \
	-DSRCDIR=\"$(srcdir)\" \
	-DP11_KIT_FUTURE_UNSTABLE_API

LDADD = \
	$(top_builddir)/p11-kit/libp11-kit-testable.la \
	$(LTLIBINTL)

CHECK_PROGS = \
	hash-test \
	ptr-array-test \
	conf-test \
	uri-test \
	pin-test \
	test-init

noinst_PROGRAMS = \
	print-messages \
	$(CHECK_PROGS)

test_init_SOURCES = \
	test-init.c \
	mock-module.c mock-module.h

CHECK_EXECUTABLES = $(CHECK_PROGS:=$(EXEEXT))

check-am:
	for prog in $(CHECK_EXECUTABLES); do ./$$prog; done

EXTRA_DIST = \
	cutest \
	files