mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 18:40:27 +01:00
cf20932df0
This change makes sure that even if the tests are built in a "release" configuration (with optimizations and NDEBUG turned on), the assertions won't get compiled out of the tests themselves. The C standard guarantees that the most recent inclusion of <assert.h> is the one that counts, so it's important that the "#undef NDEBUG/#include <assert.h>" come as the last thing in the block of header files. "testutil.hpp" includes <assert.h>, so I've left <assert.h> out of any test that #includes "testutil.hpp", just for the sake of brevity. |
||
---|---|---|
.. | ||
Makefile.am | ||
test_connect_delay.cpp | ||
test_connect_resolve.cpp | ||
test_hwm.cpp | ||
test_invalid_rep.cpp | ||
test_last_endpoint.cpp | ||
test_monitor.cpp | ||
test_msg_flags.cpp | ||
test_pair_inproc.cpp | ||
test_pair_ipc.cpp | ||
test_pair_tcp.cpp | ||
test_reqrep_device.cpp | ||
test_reqrep_inproc.cpp | ||
test_reqrep_ipc.cpp | ||
test_reqrep_tcp.cpp | ||
test_router_behavior.cpp | ||
test_shutdown_stress.cpp | ||
test_sub_forward.cpp | ||
test_term_endpoint.cpp | ||
test_timeo.cpp | ||
testutil.hpp |