]> git.meshlink.io Git - meshlink/blob - test/Makefile.am
Use a separate lockfile to lock the configuration directory.
[meshlink] / test / Makefile.am
1 TESTS = \
2         basic \
3         basicpp \
4         channels \
5         channels-aio \
6         channels-aio-fd \
7         channels-cornercases \
8         channels-failure \
9         channels-fork \
10         channels-no-partial \
11         channels-udp \
12         duplicate \
13         encrypted \
14         ephemeral \
15         import-export \
16         invite-join \
17         sign-verify \
18         trio \
19         trio2
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 utils.c utils.h
56 basic_LDADD = ../src/libmeshlink.la
57
58 basicpp_SOURCES = basicpp.cpp utils.c utils.h
59 basicpp_LDADD = ../src/libmeshlink.la
60
61 channels_SOURCES = channels.c utils.c utils.h
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 utils.c utils.h
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 utils.c utils.h
86 duplicate_LDADD = ../src/libmeshlink.la
87
88 echo_fork_SOURCES = echo-fork.c utils.c utils.h
89 echo_fork_LDADD = ../src/libmeshlink.la
90
91 encrypted_SOURCES = encrypted.c utils.c utils.h
92 encrypted_LDADD = ../src/libmeshlink.la
93
94 ephemeral_SOURCES = ephemeral.c utils.c utils.h
95 ephemeral_LDADD = ../src/libmeshlink.la
96
97 import_export_SOURCES = import-export.c utils.c utils.h
98 import_export_LDADD = ../src/libmeshlink.la
99
100 invite_join_SOURCES = invite-join.c utils.c utils.h
101 invite_join_LDADD = ../src/libmeshlink.la
102
103 sign_verify_SOURCES = sign-verify.c utils.c utils.h
104 sign_verify_LDADD = ../src/libmeshlink.la
105
106 trio_SOURCES = trio.c utils.c utils.h
107 trio_LDADD = ../src/libmeshlink.la
108
109 trio2_SOURCES = trio2.c utils.c utils.h
110 trio2_LDADD = ../src/libmeshlink.la