proposal-substructure: Fix incorrect type for IKEv2 proposals
[strongswan.git] / src / libcharon / tests / Makefile.am
1 TESTS = libcharon_tests exchange_tests
2
3 check_PROGRAMS = $(TESTS)
4
5 libcharon_tests_SOURCES = \
6   suites/test_ike_cfg.c \
7   suites/test_peer_cfg.c \
8   suites/test_mem_pool.c \
9   suites/test_message_chapoly.c \
10   libcharon_tests.h libcharon_tests.c
11
12 libcharon_tests_CFLAGS = \
13   -I$(top_srcdir)/src/libcharon \
14   -I$(top_srcdir)/src/libstrongswan \
15   -I$(top_srcdir)/src/libstrongswan/tests \
16   -DPLUGINDIR=\""$(abs_top_builddir)/src/libstrongswan/plugins\"" \
17   -DPLUGINS=\""${s_plugins}\"" \
18   @COVERAGE_CFLAGS@
19
20 libcharon_tests_LDFLAGS = @COVERAGE_LDFLAGS@
21 libcharon_tests_LDADD = \
22   $(top_builddir)/src/libcharon/libcharon.la \
23   $(top_builddir)/src/libstrongswan/libstrongswan.la \
24   $(top_builddir)/src/libstrongswan/tests/libtest.la
25
26
27 exchange_tests_SOURCES = \
28   suites/test_child_create.c \
29   suites/test_child_delete.c \
30   suites/test_child_rekey.c \
31   suites/test_ike_delete.c \
32   suites/test_ike_mid_sync.c \
33   suites/test_ike_rekey.c \
34   utils/exchange_test_asserts.h utils/exchange_test_asserts.c \
35   utils/exchange_test_helper.h utils/exchange_test_helper.c \
36   utils/job_asserts.h \
37   utils/mock_dh.h utils/mock_dh.c \
38   utils/mock_ipsec.h utils/mock_ipsec.c \
39   utils/mock_net.h utils/mock_net.c \
40   utils/mock_nonce_gen.h utils/mock_nonce_gen.c \
41   utils/mock_sender.h utils/mock_sender.c \
42   utils/sa_asserts.h \
43   exchange_tests.h exchange_tests.c
44
45 exchange_tests_CFLAGS = \
46   -I$(top_srcdir)/src/libcharon \
47   -I$(top_srcdir)/src/libstrongswan \
48   -I$(top_srcdir)/src/libstrongswan/tests \
49   -DPLUGINDIR=\""$(abs_top_builddir)/src/libstrongswan/plugins\"" \
50   -DPLUGINS=\""${s_plugins}\"" \
51   @COVERAGE_CFLAGS@
52
53 exchange_tests_LDFLAGS = @COVERAGE_LDFLAGS@
54 exchange_tests_LDADD = \
55   $(top_builddir)/src/libcharon/libcharon.la \
56   $(top_builddir)/src/libstrongswan/libstrongswan.la \
57   $(top_builddir)/src/libstrongswan/tests/libtest.la