summaryrefslogtreecommitdiff
path: root/egg/tests/Makefile.am
blob: 856659fe1772db96b1221d94925e2e2dc69e428b (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
include $(top_srcdir)/Makefile.decl

AM_CPPFLAGS = \
	-I$(top_builddir) \
	-I$(top_srcdir) \
	-DSRCDIR="\"@abs_srcdir@\"" \
	$(GLIB_CFLAGS)

LDADD =  \
	$(top_builddir)/egg/libegg.la \
	$(LIBGCRYPT_LIBS) \
	$(GLIB_LIBS)

TEST_PROGS = \
	test-hex \
	test-secmem

if WITH_GCRYPT
TEST_PROGS += test-hkdf test-dh
endif

check_PROGRAMS = $(TEST_PROGS)

test: $(TEST_PROGS)
	gtester --verbose -m $(TEST_MODE) --g-fatal-warnings $(TEST_PROGS)

check-local: test

check-memory: perform-memcheck

all-local: $(check_PROGRAMS)