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