Makefile.am 5.34 KB
Newer Older
1 2 3
INCLUDES = -I$(top_builddir)/include \
           -I$(top_srcdir)/include

4 5
LDADD = $(top_builddir)/src/libzmq.la

6 7
noinst_PROGRAMS = test_system \
                  test_pair_inproc \
8 9
                  test_pair_tcp \
                  test_reqrep_inproc \
Mikko Koppanen's avatar
Mikko Koppanen committed
10
                  test_reqrep_tcp \
11
                  test_hwm \
12
                  test_reqrep_device \
13
                  test_sub_forward \
14
                  test_invalid_rep \
15
                  test_msg_flags \
16
                  test_connect_resolve \
17
                  test_immediate \
18
                  test_last_endpoint \
19
                  test_term_endpoint \
20
                  test_srcfd \
21
                  test_monitor \
22
                  test_resource \
23
                  test_router_mandatory \
24
                  test_router_handover \
25
                  test_probe_router \
26
                  test_stream \
27
                  test_stream_empty \
Pieter Hintjens's avatar
Pieter Hintjens committed
28
                  test_stream_disconnect \
Pieter Hintjens's avatar
Pieter Hintjens committed
29
                  test_disconnect_inproc \
30
                  test_ctx_options \
31
                  test_ctx_destroy \
32 33
                  test_security_null \
                  test_security_plain \
Ian Barber's avatar
Ian Barber committed
34
                  test_security_curve \
35 36 37 38
                  test_iov \
                  test_spec_req \
                  test_spec_rep \
                  test_spec_dealer \
39
                  test_spec_router \
40
                  test_spec_pushpull \
41 42
                  test_req_correlate \
                  test_req_relaxed \
43
                  test_conflate \
44
                  test_inproc_connect \
45
                  test_issue_566 \
46
                  test_proxy \
47
                  test_abstract_ipc \
48
                  test_many_sockets \
49
                  test_ipc_wildcard \
50
                  test_diffserv
Mikko Koppanen's avatar
Mikko Koppanen committed
51 52

if !ON_MINGW
53 54
noinst_PROGRAMS += test_shutdown_stress \
                   test_pair_ipc \
55
                   test_reqrep_ipc \
56
                   test_timeo \
57
                   test_fork \
58
                   test_filter_ipc 
Mikko Koppanen's avatar
Mikko Koppanen committed
59
endif
60

61
if BUILD_TIPC
62 63 64 65 66 67 68 69 70 71
noinst_PROGRAMS += test_connect_delay_tipc \
                  test_pair_tipc \
                  test_reqrep_device_tipc \
                  test_reqrep_tipc \
                  test_router_mandatory_tipc \
                  test_shutdown_stress_tipc \
                  test_sub_forward_tipc \
                  test_term_endpoint_tipc
endif

72
test_system_SOURCES = test_system.cpp
73 74 75 76
test_pair_inproc_SOURCES = test_pair_inproc.cpp testutil.hpp
test_pair_tcp_SOURCES = test_pair_tcp.cpp testutil.hpp
test_reqrep_inproc_SOURCES = test_reqrep_inproc.cpp testutil.hpp
test_reqrep_tcp_SOURCES = test_reqrep_tcp.cpp testutil.hpp
Mikko Koppanen's avatar
Mikko Koppanen committed
77
test_hwm_SOURCES = test_hwm.cpp
78
test_reqrep_device_SOURCES = test_reqrep_device.cpp
79
test_sub_forward_SOURCES = test_sub_forward.cpp
80
test_invalid_rep_SOURCES = test_invalid_rep.cpp
81
test_msg_flags_SOURCES = test_msg_flags.cpp
82
test_connect_resolve_SOURCES = test_connect_resolve.cpp
83
test_immediate_SOURCES = test_immediate.cpp
84
test_last_endpoint_SOURCES = test_last_endpoint.cpp
85
test_term_endpoint_SOURCES = test_term_endpoint.cpp
86
test_srcfd_SOURCES = test_srcfd.cpp
87
test_monitor_SOURCES = test_monitor.cpp
88
test_resource_SOURCES = test_resource.cpp
89
test_router_mandatory_SOURCES = test_router_mandatory.cpp
90
test_router_handover_SOURCES = test_router_handover.cpp
91
test_probe_router_SOURCES = test_probe_router.cpp
92
test_stream_SOURCES = test_stream.cpp
93
test_stream_empty_SOURCES = test_stream_empty.cpp
Pieter Hintjens's avatar
Pieter Hintjens committed
94
test_stream_disconnect_SOURCES = test_stream_disconnect.cpp
95
test_disconnect_inproc_SOURCES = test_disconnect_inproc.cpp
96
test_ctx_options_SOURCES = test_ctx_options.cpp
Pieter Hintjens's avatar
Pieter Hintjens committed
97
test_iov_SOURCES = test_iov.cpp
98
test_ctx_destroy_SOURCES = test_ctx_destroy.cpp
99 100
test_security_null_SOURCES = test_security_null.cpp
test_security_plain_SOURCES = test_security_plain.cpp
Ian Barber's avatar
Ian Barber committed
101
test_security_curve_SOURCES = test_security_curve.cpp
102 103 104 105
test_spec_req_SOURCES = test_spec_req.cpp
test_spec_rep_SOURCES = test_spec_rep.cpp
test_spec_dealer_SOURCES = test_spec_dealer.cpp
test_spec_router_SOURCES = test_spec_router.cpp
106
test_spec_pushpull_SOURCES = test_spec_pushpull.cpp
107 108
test_req_correlate_SOURCES = test_req_correlate.cpp
test_req_relaxed_SOURCES = test_req_relaxed.cpp
109
test_conflate_SOURCES = test_conflate.cpp
110
test_inproc_connect_SOURCES = test_inproc_connect.cpp
111
test_issue_566_SOURCES = test_issue_566.cpp
112
test_proxy_SOURCES = test_proxy.cpp
113
test_abstract_ipc_SOURCES = test_abstract_ipc.cpp
114
test_many_sockets_SOURCES = test_many_sockets.cpp
115
test_ipc_wildcard_SOURCES = test_ipc_wildcard.cpp
116
test_diffserv_SOURCES = test_diffserv.cpp
Mikko Koppanen's avatar
Mikko Koppanen committed
117
if !ON_MINGW
118
test_shutdown_stress_SOURCES = test_shutdown_stress.cpp
119 120
test_pair_ipc_SOURCES = test_pair_ipc.cpp testutil.hpp
test_reqrep_ipc_SOURCES = test_reqrep_ipc.cpp testutil.hpp
121
test_timeo_SOURCES = test_timeo.cpp
122
test_fork_SOURCES = test_fork.cpp
123
test_filter_ipc_SOURCES = test_filter_ipc.cpp
Mikko Koppanen's avatar
Mikko Koppanen committed
124
endif
125
if BUILD_TIPC
126 127 128 129 130 131 132 133 134
test_connect_delay_tipc_SOURCES = test_connect_delay_tipc.cpp
test_pair_tipc_SOURCES = test_pair_tipc.cpp
test_reqrep_device_tipc_SOURCES = test_reqrep_device_tipc.cpp
test_reqrep_tipc_SOURCES = test_reqrep_tipc.cpp
test_router_mandatory_tipc_SOURCES = test_router_mandatory_tipc.cpp
test_shutdown_stress_tipc_SOURCES = test_shutdown_stress_tipc.cpp
test_sub_forward_tipc_SOURCES = test_sub_forward_tipc.cpp
test_term_endpoint_tipc_SOURCES = test_term_endpoint_tipc.cpp
endif
135

136
#  Run the test cases
137
TESTS = $(noinst_PROGRAMS)
138
XFAIL_TESTS = test_resource
139 140

if !ON_LINUX
141 142
XFAIL_TESTS += test_abstract_ipc
endif