mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-30 01:06:55 +08:00
b9646f2aac
* Documentation: The default behavior of REQ sockets is to rely on the ordering of messages to match requests and responses and that is usually sufficient. When this option is set to 1, the REQ socket will prefix outgoing messages with an extra frame containing a request id. That means the full message is (request id, 0, user frames...). The REQ socket will discard all incoming messages that don't begin with these two frames. * Behavior change: When a REQ socket gets an invalid reply, it used to discard the message and return EAGAIN. REQ sockets still discard invalid messages, but keep looking at the next one automatically until a good one is found or there are no more messages. * Add test_req_request_ids.
83 lines
3.0 KiB
Makefile
83 lines
3.0 KiB
Makefile
INCLUDES = -I$(top_builddir)/include \
|
|
-I$(top_srcdir)/include
|
|
|
|
LDADD = $(top_builddir)/src/libzmq.la
|
|
|
|
noinst_PROGRAMS = test_pair_inproc \
|
|
test_pair_tcp \
|
|
test_reqrep_inproc \
|
|
test_reqrep_tcp \
|
|
test_hwm \
|
|
test_reqrep_device \
|
|
test_sub_forward \
|
|
test_invalid_rep \
|
|
test_msg_flags \
|
|
test_connect_resolve \
|
|
test_connect_delay \
|
|
test_last_endpoint \
|
|
test_term_endpoint \
|
|
test_monitor \
|
|
test_router_mandatory \
|
|
test_probe_router \
|
|
test_stream \
|
|
test_disconnect_inproc \
|
|
test_ctx_options \
|
|
test_security \
|
|
test_security_curve \
|
|
test_iov \
|
|
test_spec_req \
|
|
test_spec_rep \
|
|
test_spec_dealer \
|
|
test_spec_router \
|
|
test_spec_pushpull \
|
|
test_req_request_ids
|
|
|
|
if !ON_MINGW
|
|
noinst_PROGRAMS += test_shutdown_stress \
|
|
test_pair_ipc \
|
|
test_reqrep_ipc \
|
|
test_timeo
|
|
endif
|
|
|
|
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
|
|
test_hwm_SOURCES = test_hwm.cpp
|
|
test_reqrep_device_SOURCES = test_reqrep_device.cpp
|
|
test_sub_forward_SOURCES = test_sub_forward.cpp
|
|
test_invalid_rep_SOURCES = test_invalid_rep.cpp
|
|
test_msg_flags_SOURCES = test_msg_flags.cpp
|
|
test_connect_resolve_SOURCES = test_connect_resolve.cpp
|
|
test_connect_delay_SOURCES = test_connect_delay.cpp
|
|
test_last_endpoint_SOURCES = test_last_endpoint.cpp
|
|
test_term_endpoint_SOURCES = test_term_endpoint.cpp
|
|
test_monitor_SOURCES = test_monitor.cpp
|
|
test_router_mandatory_SOURCES = test_router_mandatory.cpp
|
|
test_probe_router_SOURCES = test_probe_router.cpp
|
|
test_stream_SOURCES = test_stream.cpp
|
|
test_disconnect_inproc_SOURCES = test_disconnect_inproc.cpp
|
|
test_ctx_options_SOURCES = test_ctx_options.cpp
|
|
test_iov_SOURCES = test_iov.cpp
|
|
test_security_SOURCES = test_security.cpp
|
|
test_security_curve_SOURCES = test_security_curve.cpp
|
|
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
|
|
test_spec_pushpull_SOURCES = test_spec_pushpull.cpp
|
|
test_req_request_ids_SOURCES = test_req_request_ids.cpp
|
|
if !ON_MINGW
|
|
test_shutdown_stress_SOURCES = test_shutdown_stress.cpp
|
|
test_pair_ipc_SOURCES = test_pair_ipc.cpp testutil.hpp
|
|
test_reqrep_ipc_SOURCES = test_reqrep_ipc.cpp testutil.hpp
|
|
test_timeo_SOURCES = test_timeo.cpp
|
|
endif
|
|
|
|
# Deprecated test cases
|
|
noinst_PROGRAMS += test_raw_sock
|
|
test_raw_sock_SOURCES = test_raw_sock.cpp
|
|
|
|
# Run the test cases
|
|
TESTS = $(noinst_PROGRAMS)
|