2011-11-21 08:10:03 +01:00
|
|
|
INCLUDES = -I$(top_builddir)/include \
|
|
|
|
-I$(top_srcdir)/include
|
|
|
|
|
2010-08-27 18:35:59 +02:00
|
|
|
LDADD = $(top_builddir)/src/libzmq.la
|
|
|
|
|
2013-09-04 19:38:15 +02:00
|
|
|
noinst_PROGRAMS = test_system \
|
|
|
|
test_pair_inproc \
|
2010-08-28 13:58:23 +02:00
|
|
|
test_pair_tcp \
|
|
|
|
test_reqrep_inproc \
|
2011-01-30 11:51:30 +01:00
|
|
|
test_reqrep_tcp \
|
2011-06-22 11:02:16 +02:00
|
|
|
test_hwm \
|
2011-06-23 07:57:47 +02:00
|
|
|
test_reqrep_device \
|
2011-09-13 16:27:07 +02:00
|
|
|
test_sub_forward \
|
2011-11-06 14:03:51 +01:00
|
|
|
test_invalid_rep \
|
2012-02-02 14:56:51 +01:00
|
|
|
test_msg_flags \
|
2012-02-18 21:44:41 +01:00
|
|
|
test_connect_resolve \
|
2013-09-20 14:23:43 +02:00
|
|
|
test_immediate \
|
2012-04-21 16:39:19 +02:00
|
|
|
test_last_endpoint \
|
2012-05-04 03:32:46 +02:00
|
|
|
test_term_endpoint \
|
2012-06-17 00:33:43 +02:00
|
|
|
test_monitor \
|
2013-12-19 01:37:37 +01:00
|
|
|
test_resource \
|
2012-10-29 08:03:36 +01:00
|
|
|
test_router_mandatory \
|
2013-11-01 04:42:48 +01:00
|
|
|
test_router_handover \
|
2013-06-05 15:55:15 +02:00
|
|
|
test_probe_router \
|
2013-06-27 20:47:34 +02:00
|
|
|
test_stream \
|
2013-10-28 21:00:42 +01:00
|
|
|
test_stream_empty \
|
2013-01-31 21:52:30 +01:00
|
|
|
test_disconnect_inproc \
|
2013-04-25 22:58:26 +02:00
|
|
|
test_ctx_options \
|
2013-09-10 14:30:00 +02:00
|
|
|
test_ctx_destroy \
|
2013-09-02 17:22:24 +02:00
|
|
|
test_security_null \
|
|
|
|
test_security_plain \
|
2013-06-22 17:17:25 +02:00
|
|
|
test_security_curve \
|
2013-07-02 15:04:31 +02:00
|
|
|
test_iov \
|
|
|
|
test_spec_req \
|
|
|
|
test_spec_rep \
|
|
|
|
test_spec_dealer \
|
2013-07-05 15:20:42 +02:00
|
|
|
test_spec_router \
|
2013-07-26 21:13:43 +02:00
|
|
|
test_spec_pushpull \
|
2013-09-20 15:30:04 +02:00
|
|
|
test_req_correlate \
|
|
|
|
test_req_relaxed \
|
2013-09-12 19:09:37 +02:00
|
|
|
test_conflate \
|
2013-09-26 14:18:40 +02:00
|
|
|
test_inproc_connect \
|
2013-10-04 01:35:30 +02:00
|
|
|
test_issue_566 \
|
2013-10-18 11:12:48 +02:00
|
|
|
test_proxy \
|
2013-11-07 17:47:55 +01:00
|
|
|
test_abstract_ipc \
|
2013-11-25 04:01:21 +01:00
|
|
|
test_many_sockets \
|
2013-12-20 14:28:54 +01:00
|
|
|
test_ipc_wildcard \
|
2013-11-25 04:01:21 +01:00
|
|
|
test_diffserv
|
2010-11-17 15:05:01 +01:00
|
|
|
|
|
|
|
if !ON_MINGW
|
2011-01-20 22:13:01 +01:00
|
|
|
noinst_PROGRAMS += test_shutdown_stress \
|
|
|
|
test_pair_ipc \
|
2011-06-20 07:35:24 +02:00
|
|
|
test_reqrep_ipc \
|
2013-09-01 12:19:58 +02:00
|
|
|
test_timeo \
|
2013-12-04 23:17:39 +01:00
|
|
|
test_fork \
|
2013-12-06 23:28:44 +01:00
|
|
|
test_filter_ipc \
|
|
|
|
test_zap_ipc_creds
|
2010-11-17 15:05:01 +01:00
|
|
|
endif
|
2010-08-27 18:35:59 +02:00
|
|
|
|
2013-11-01 14:59:31 +01:00
|
|
|
if BUILD_TIPC
|
2013-10-30 16:03:27 +01:00
|
|
|
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
|
|
|
|
|
2013-09-04 19:38:15 +02:00
|
|
|
test_system_SOURCES = test_system.cpp
|
2010-08-28 13:58:23 +02:00
|
|
|
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
|
2011-01-30 11:51:30 +01:00
|
|
|
test_hwm_SOURCES = test_hwm.cpp
|
2011-06-22 11:02:16 +02:00
|
|
|
test_reqrep_device_SOURCES = test_reqrep_device.cpp
|
2011-07-11 15:54:13 +02:00
|
|
|
test_sub_forward_SOURCES = test_sub_forward.cpp
|
2011-09-13 16:27:07 +02:00
|
|
|
test_invalid_rep_SOURCES = test_invalid_rep.cpp
|
2011-11-06 14:03:51 +01:00
|
|
|
test_msg_flags_SOURCES = test_msg_flags.cpp
|
2012-02-02 14:56:51 +01:00
|
|
|
test_connect_resolve_SOURCES = test_connect_resolve.cpp
|
2013-09-20 14:23:43 +02:00
|
|
|
test_immediate_SOURCES = test_immediate.cpp
|
2012-02-18 21:44:41 +01:00
|
|
|
test_last_endpoint_SOURCES = test_last_endpoint.cpp
|
2012-04-21 16:39:19 +02:00
|
|
|
test_term_endpoint_SOURCES = test_term_endpoint.cpp
|
2012-05-04 03:32:46 +02:00
|
|
|
test_monitor_SOURCES = test_monitor.cpp
|
2013-12-19 01:37:37 +01:00
|
|
|
test_resource_SOURCES = test_resource.cpp
|
2012-10-08 09:36:35 +02:00
|
|
|
test_router_mandatory_SOURCES = test_router_mandatory.cpp
|
2013-11-01 04:42:48 +01:00
|
|
|
test_router_handover_SOURCES = test_router_handover.cpp
|
2013-06-05 15:55:15 +02:00
|
|
|
test_probe_router_SOURCES = test_probe_router.cpp
|
2013-06-27 20:47:34 +02:00
|
|
|
test_stream_SOURCES = test_stream.cpp
|
2013-10-29 11:50:52 +01:00
|
|
|
test_stream_empty_SOURCES = test_stream_empty.cpp
|
2012-12-04 15:14:21 +01:00
|
|
|
test_disconnect_inproc_SOURCES = test_disconnect_inproc.cpp
|
2013-02-07 12:27:33 +01:00
|
|
|
test_ctx_options_SOURCES = test_ctx_options.cpp
|
2013-04-27 14:52:19 +02:00
|
|
|
test_iov_SOURCES = test_iov.cpp
|
2013-09-11 16:02:16 +02:00
|
|
|
test_ctx_destroy_SOURCES = test_ctx_destroy.cpp
|
2013-09-02 17:22:24 +02:00
|
|
|
test_security_null_SOURCES = test_security_null.cpp
|
|
|
|
test_security_plain_SOURCES = test_security_plain.cpp
|
2013-06-22 17:17:25 +02:00
|
|
|
test_security_curve_SOURCES = test_security_curve.cpp
|
2013-07-02 15:04:31 +02:00
|
|
|
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
|
2013-07-05 15:20:42 +02:00
|
|
|
test_spec_pushpull_SOURCES = test_spec_pushpull.cpp
|
2013-09-20 15:30:04 +02:00
|
|
|
test_req_correlate_SOURCES = test_req_correlate.cpp
|
|
|
|
test_req_relaxed_SOURCES = test_req_relaxed.cpp
|
2013-08-19 14:34:11 +02:00
|
|
|
test_conflate_SOURCES = test_conflate.cpp
|
2013-09-19 09:36:43 +02:00
|
|
|
test_inproc_connect_SOURCES = test_inproc_connect.cpp
|
2013-09-26 14:18:40 +02:00
|
|
|
test_issue_566_SOURCES = test_issue_566.cpp
|
2013-10-18 11:12:48 +02:00
|
|
|
test_proxy_SOURCES = test_proxy.cpp
|
2013-10-04 01:35:30 +02:00
|
|
|
test_abstract_ipc_SOURCES = test_abstract_ipc.cpp
|
2013-11-07 17:47:55 +01:00
|
|
|
test_many_sockets_SOURCES = test_many_sockets.cpp
|
2013-12-20 14:28:54 +01:00
|
|
|
test_ipc_wildcard_SOURCES = test_ipc_wildcard.cpp
|
2013-11-25 04:01:21 +01:00
|
|
|
test_diffserv_SOURCES = test_diffserv.cpp
|
2010-11-17 15:05:01 +01:00
|
|
|
if !ON_MINGW
|
2010-10-01 16:03:08 +02:00
|
|
|
test_shutdown_stress_SOURCES = test_shutdown_stress.cpp
|
2011-01-20 22:13:01 +01:00
|
|
|
test_pair_ipc_SOURCES = test_pair_ipc.cpp testutil.hpp
|
|
|
|
test_reqrep_ipc_SOURCES = test_reqrep_ipc.cpp testutil.hpp
|
2011-06-20 07:35:24 +02:00
|
|
|
test_timeo_SOURCES = test_timeo.cpp
|
2013-09-01 12:19:58 +02:00
|
|
|
test_fork_SOURCES = test_fork.cpp
|
2013-12-04 23:17:39 +01:00
|
|
|
test_filter_ipc_SOURCES = test_filter_ipc.cpp
|
2013-12-06 23:28:44 +01:00
|
|
|
test_zap_ipc_creds_SOURCES = test_zap_ipc_creds.cpp
|
2010-11-17 15:05:01 +01:00
|
|
|
endif
|
2013-11-01 14:59:31 +01:00
|
|
|
if BUILD_TIPC
|
2013-10-30 16:03:27 +01:00
|
|
|
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
|
2010-10-01 16:03:08 +02:00
|
|
|
|
2013-06-27 20:47:34 +02:00
|
|
|
# Run the test cases
|
2013-09-04 18:38:54 +02:00
|
|
|
TESTS = $(noinst_PROGRAMS)
|
2013-12-19 01:37:37 +01:00
|
|
|
XFAIL_TESTS = test_resource
|
2013-10-04 01:35:30 +02:00
|
|
|
|
|
|
|
if !ON_LINUX
|
2013-12-06 23:28:44 +01:00
|
|
|
XFAIL_TESTS += test_abstract_ipc
|
|
|
|
endif
|
|
|
|
|
|
|
|
if !HAVE_IPC_PEERCRED
|
|
|
|
XFAIL_TESTS += test_zap_ipc_creds
|
2013-10-04 01:35:30 +02:00
|
|
|
endif
|