unit-tests: Add test suite for streams and services
[strongswan.git] / src / libstrongswan / tests / Makefile.am
1 TESTS = test_runner
2
3 check_PROGRAMS = $(TESTS)
4
5 test_runner_SOURCES = \
6   test_runner.c test_runner.h test_suite.c test_suite.h \
7   suites/test_linked_list.c \
8   suites/test_enumerator.c \
9   suites/test_linked_list_enumerator.c \
10   suites/test_bio_reader.c \
11   suites/test_bio_writer.c \
12   suites/test_chunk.c \
13   suites/test_enum.c \
14   suites/test_hashtable.c \
15   suites/test_identification.c \
16   suites/test_threading.c \
17   suites/test_watcher.c \
18   suites/test_stream.c \
19   suites/test_utils.c \
20   suites/test_vectors.c \
21   suites/test_array.c \
22   suites/test_ecdsa.c \
23   suites/test_rsa.c \
24   suites/test_host.c \
25   suites/test_pen.c \
26   suites/test_asn1.c \
27   suites/test_printf.c
28
29 test_runner_CFLAGS = \
30   -I$(top_srcdir)/src/libstrongswan \
31   -DPLUGINDIR=\""$(top_builddir)/src/libstrongswan/plugins\"" \
32   -DPLUGINS=\""${s_plugins}\"" \
33   @COVERAGE_CFLAGS@
34
35 test_runner_LDFLAGS = @COVERAGE_LDFLAGS@
36 test_runner_LDADD = \
37   $(top_builddir)/src/libstrongswan/libstrongswan.la \
38   $(PTHREADLIB)