]> git.meshlink.io Git - meshlink/blob - test/Makefile.am
Add a callback for PMTU changes.
[meshlink] / test / Makefile.am
1 TESTS = \
2         basic.test \
3         basicpp.test \
4         channels.test \
5         channels-aio.test \
6         channels-aio-fd.test \
7         channels-cornercases.test \
8         channels-failure.test \
9         channels-fork.test \
10         channels-no-partial.test \
11         channels-udp.test \
12         duplicate.test \
13         encrypted.test \
14         ephemeral.test \
15         import-export.test \
16         invite-join.test \
17         sign-verify.test \
18         trio.test \
19         trio2.test
20
21 if BLACKBOX_TESTS
22 SUBDIRS = blackbox
23 endif
24
25 dist_check_SCRIPTS = $(TESTS)
26
27 AM_CPPFLAGS = $(PTHREAD_CFLAGS) -I${top_srcdir}/src -iquote. -Wall
28 AM_LDFLAGS = $(PTHREAD_LIBS)
29
30 check_PROGRAMS = \
31         basic \
32         basicpp \
33         channels \
34         channels-aio \
35         channels-aio-fd \
36         channels-cornercases \
37         channels-failure \
38         channels-fork \
39         channels-no-partial \
40         channels-udp \
41         duplicate \
42         echo-fork \
43         encrypted \
44         ephemeral \
45         import-export \
46         invite-join \
47         sign-verify \
48         trio \
49         trio2
50
51 if INSTALL_TESTS
52 bin_PROGRAMS = $(check_PROGRAMS)
53 endif
54
55 basic_SOURCES = basic.c
56 basic_LDADD = ../src/libmeshlink.la
57
58 basicpp_SOURCES = basicpp.cpp
59 basicpp_LDADD = ../src/libmeshlink.la
60
61 channels_SOURCES = channels.c
62 channels_LDADD = ../src/libmeshlink.la
63
64 channels_aio_SOURCES = channels-aio.c utils.c utils.h
65 channels_aio_LDADD = ../src/libmeshlink.la
66
67 channels_aio_fd_SOURCES = channels-aio-fd.c utils.c utils.h
68 channels_aio_fd_LDADD = ../src/libmeshlink.la
69
70 channels_no_partial_SOURCES = channels-no-partial.c utils.c utils.h
71 channels_no_partial_LDADD = ../src/libmeshlink.la
72
73 channels_failure_SOURCES = channels-failure.c utils.c utils.h
74 channels_failure_LDADD = ../src/libmeshlink.la
75
76 channels_fork_SOURCES = channels-fork.c
77 channels_fork_LDADD = ../src/libmeshlink.la
78
79 channels_cornercases_SOURCES = channels-cornercases.c utils.c utils.h
80 channels_cornercases_LDADD = ../src/libmeshlink.la
81
82 channels_udp_SOURCES = channels-udp.c utils.c utils.h
83 channels_udp_LDADD = ../src/libmeshlink.la
84
85 duplicate_SOURCES = duplicate.c
86 duplicate_LDADD = ../src/libmeshlink.la
87
88 echo_fork_SOURCES = echo-fork.c
89 echo_fork_LDADD = ../src/libmeshlink.la
90
91 encrypted_SOURCES = encrypted.c
92 encrypted_LDADD = ../src/libmeshlink.la
93
94 ephemeral_SOURCES = ephemeral.c
95 ephemeral_LDADD = ../src/libmeshlink.la
96
97 import_export_SOURCES = import-export.c
98 import_export_LDADD = ../src/libmeshlink.la
99
100 invite_join_SOURCES = invite-join.c
101 invite_join_LDADD = ../src/libmeshlink.la
102
103 sign_verify_SOURCES = sign-verify.c
104 sign_verify_LDADD = ../src/libmeshlink.la
105
106 trio_SOURCES = trio.c
107 trio_LDADD = ../src/libmeshlink.la
108
109 trio2_SOURCES = trio2.c
110 trio2_LDADD = ../src/libmeshlink.la