unit-tests: Add test suite for Ed448
[strongswan.git] / src / libstrongswan / tests / Makefile.am
1 check_LTLIBRARIES = libtest.la
2
3 libtest_la_SOURCES = \
4   test_suite.c test_suite.h \
5   test_runner.c test_runner.h \
6   utils/test_rng.c utils/test_rng.h
7
8 libtest_la_CFLAGS = \
9   -I$(top_srcdir)/src/libstrongswan \
10   @COVERAGE_CFLAGS@
11
12 libtest_la_LDFLAGS = @COVERAGE_LDFLAGS@
13 libtest_la_LIBADD = \
14   $(top_builddir)/src/libstrongswan/libstrongswan.la \
15   $(PTHREADLIB) $(ATOMICLIB)
16
17
18 TESTS = libstrongswan_tests
19
20 check_PROGRAMS = $(TESTS)
21
22 libstrongswan_tests_SOURCES = tests.h tests.c \
23   suites/test_linked_list.c \
24   suites/test_enumerator.c \
25   suites/test_linked_list_enumerator.c \
26   suites/test_bio_reader.c \
27   suites/test_bio_writer.c \
28   suites/test_chunk.c \
29   suites/test_enum.c \
30   suites/test_hashtable.c \
31   suites/test_identification.c \
32   suites/test_traffic_selector.c \
33   suites/test_threading.c \
34   suites/test_process.c \
35   suites/test_watcher.c \
36   suites/test_stream.c \
37   suites/test_fetch_http.c \
38   suites/test_utils.c \
39   suites/test_settings.c \
40   suites/test_vectors.c \
41   suites/test_array.c \
42   suites/test_ecdsa.c \
43   suites/test_rsa.c \
44   suites/test_certpolicy.c \
45   suites/test_certnames.c \
46   suites/test_host.c \
47   suites/test_auth_cfg.c \
48   suites/test_hasher.c \
49   suites/test_crypter.c \
50   suites/test_proposal.c \
51   suites/test_crypto_factory.c \
52   suites/test_iv_gen.c \
53   suites/test_pen.c \
54   suites/test_asn1.c \
55   suites/test_asn1_parser.c \
56   suites/test_printf.c \
57   suites/test_test_rng.c \
58   suites/test_mgf1.c \
59   suites/test_ntru.c \
60   suites/test_ed25519.c \
61   suites/test_ed448.c \
62   suites/test_signature_params.c
63
64 libstrongswan_tests_CFLAGS = \
65   -I$(top_srcdir)/src/libstrongswan \
66   -I$(top_srcdir)/src/libstrongswan/tests \
67   -DPLUGINDIR=\""$(abs_top_builddir)/src/libstrongswan/plugins\"" \
68   -DPLUGINS=\""${s_plugins}\"" \
69   @COVERAGE_CFLAGS@
70
71 libstrongswan_tests_LDFLAGS = @COVERAGE_LDFLAGS@
72 libstrongswan_tests_LDADD = \
73   $(top_builddir)/src/libstrongswan/libstrongswan.la \
74   libtest.la