unit-tests: Added ntru entropy, retransmission and ciphertext tests
[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
7 libtest_la_CFLAGS = \
8   -I$(top_srcdir)/src/libstrongswan \
9   @COVERAGE_CFLAGS@
10
11 libtest_la_LDFLAGS = @COVERAGE_LDFLAGS@
12 libtest_la_LIBADD = \
13   $(top_builddir)/src/libstrongswan/libstrongswan.la \
14   $(PTHREADLIB)
15
16
17 TESTS = tests
18
19 check_PROGRAMS = $(TESTS)
20
21 tests_SOURCES = tests.h tests.c \
22   suites/test_linked_list.c \
23   suites/test_enumerator.c \
24   suites/test_linked_list_enumerator.c \
25   suites/test_bio_reader.c \
26   suites/test_bio_writer.c \
27   suites/test_chunk.c \
28   suites/test_enum.c \
29   suites/test_hashtable.c \
30   suites/test_identification.c \
31   suites/test_threading.c \
32   suites/test_watcher.c \
33   suites/test_stream.c \
34   suites/test_utils.c \
35   suites/test_vectors.c \
36   suites/test_array.c \
37   suites/test_ecdsa.c \
38   suites/test_rsa.c \
39   suites/test_host.c \
40   suites/test_pen.c \
41   suites/test_asn1.c \
42   suites/test_printf.c \
43   suites/test_ntru.c
44
45 tests_CFLAGS = \
46   -I$(top_srcdir)/src/libstrongswan \
47   -I$(top_srcdir)/src/libstrongswan/tests \
48   -DPLUGINDIR=\""$(top_builddir)/src/libstrongswan/plugins\"" \
49   -DPLUGINS=\""${s_plugins}\"" \
50   @COVERAGE_CFLAGS@
51
52 tests_LDFLAGS = @COVERAGE_LDFLAGS@
53 tests_LDADD = \
54   $(top_builddir)/src/libstrongswan/libstrongswan.la \
55   $(top_builddir)/src/libstrongswan/plugins/ntru/libstrongswan-ntru.la \
56   libtest.la