zeromq/libzmq — pull request #412 by Quuxplusone (2012-08-23 20:46:02+00:00)
Title: Add "#undef NDEBUG" to all tests.

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
is the one that counts, so it's important that the
"#undef NDEBUG/#include " come as the last thing in
the block of header files.

"testutil.hpp" includes , so I've left out
of any test that #includes "testutil.hpp", just for the sake of
brevity.