From: Guus Sliepen Date: Wed, 30 Oct 2019 18:45:30 +0000 (+0100) Subject: Ensure NDEBUG is not set in the test suite. X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=f1da50294494310d7a299c29af5649d4415bd38a;p=meshlink Ensure NDEBUG is not set in the test suite. We rely on assert() in the test suite, so it should not be compiled out when doing a release build with -DNDEBUG. --- diff --git a/test/basic.c b/test/basic.c index e7376679..4ad1c93f 100644 --- a/test/basic.c +++ b/test/basic.c @@ -1,3 +1,7 @@ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/common/common_handlers.c b/test/blackbox/common/common_handlers.c index 134fcc9f..e728f438 100644 --- a/test/blackbox/common/common_handlers.c +++ b/test/blackbox/common/common_handlers.c @@ -17,6 +17,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/common/containers.c b/test/blackbox/common/containers.c index f99abde5..c11ca430 100644 --- a/test/blackbox/common/containers.c +++ b/test/blackbox/common/containers.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/common/mesh_event_handler.c b/test/blackbox/common/mesh_event_handler.c index 84ae63dd..17b5abaf 100644 --- a/test/blackbox/common/mesh_event_handler.c +++ b/test/blackbox/common/mesh_event_handler.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/common/tcpdump.c b/test/blackbox/common/tcpdump.c index f33412de..1d9b23f9 100644 --- a/test/blackbox/common/tcpdump.c +++ b/test/blackbox/common/tcpdump.c @@ -18,6 +18,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/common/test_step.c b/test/blackbox/common/test_step.c index cda13150..b772b939 100644 --- a/test/blackbox/common/test_step.c +++ b/test/blackbox/common/test_step.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/run_blackbox_tests/execute_tests.c b/test/blackbox/run_blackbox_tests/execute_tests.c index 7232911e..6b534eef 100644 --- a/test/blackbox/run_blackbox_tests/execute_tests.c +++ b/test/blackbox/run_blackbox_tests/execute_tests.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/run_blackbox_tests/run_blackbox_tests.c b/test/blackbox/run_blackbox_tests/run_blackbox_tests.c index a1eecb51..b2e0b618 100644 --- a/test/blackbox/run_blackbox_tests/run_blackbox_tests.c +++ b/test/blackbox/run_blackbox_tests/run_blackbox_tests.c @@ -17,6 +17,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/run_blackbox_tests/test_cases.c b/test/blackbox/run_blackbox_tests/test_cases.c index 7207eb60..c07edec6 100644 --- a/test/blackbox/run_blackbox_tests/test_cases.c +++ b/test/blackbox/run_blackbox_tests/test_cases.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/run_blackbox_tests/test_cases_add_addr.c b/test/blackbox/run_blackbox_tests/test_cases_add_addr.c index d9d456f3..4d13928a 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_add_addr.c +++ b/test/blackbox/run_blackbox_tests/test_cases_add_addr.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_add_addr.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_add_ex_addr.c b/test/blackbox/run_blackbox_tests/test_cases_add_ex_addr.c index bff9dd83..c7869095 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_add_ex_addr.c +++ b/test/blackbox/run_blackbox_tests/test_cases_add_ex_addr.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_add_ex_addr.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_autoconnect.c b/test/blackbox/run_blackbox_tests/test_cases_autoconnect.c index 6be5fa13..d8b7e490 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_autoconnect.c +++ b/test/blackbox/run_blackbox_tests/test_cases_autoconnect.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + /* Modify this to change the logging level of Meshlink */ #define TEST_MESHLINK_LOG_LEVEL MESHLINK_DEBUG diff --git a/test/blackbox/run_blackbox_tests/test_cases_blacklist.c b/test/blackbox/run_blackbox_tests/test_cases_blacklist.c index 7324a19e..19908930 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_blacklist.c +++ b/test/blackbox/run_blackbox_tests/test_cases_blacklist.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + /* Modify this to change the logging level of Meshlink */ #define TEST_MESHLINK_LOG_LEVEL MESHLINK_DEBUG diff --git a/test/blackbox/run_blackbox_tests/test_cases_channel_blacklist.c b/test/blackbox/run_blackbox_tests/test_cases_channel_blacklist.c index 05594bce..333f3a99 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_channel_blacklist.c +++ b/test/blackbox/run_blackbox_tests/test_cases_channel_blacklist.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/run_blackbox_tests/test_cases_channel_close.c b/test/blackbox/run_blackbox_tests/test_cases_channel_close.c index 6017da2c..1f6e3a02 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_channel_close.c +++ b/test/blackbox/run_blackbox_tests/test_cases_channel_close.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_channel_close.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_channel_conn.c b/test/blackbox/run_blackbox_tests/test_cases_channel_conn.c index 4d497e66..9bed91bb 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_channel_conn.c +++ b/test/blackbox/run_blackbox_tests/test_cases_channel_conn.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/run_blackbox_tests/test_cases_channel_ex.c b/test/blackbox/run_blackbox_tests/test_cases_channel_ex.c index dc626c89..9f539cff 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_channel_ex.c +++ b/test/blackbox/run_blackbox_tests/test_cases_channel_ex.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_channel_ex.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_channel_get_flags.c b/test/blackbox/run_blackbox_tests/test_cases_channel_get_flags.c index f83c39f5..9ae6dfdf 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_channel_get_flags.c +++ b/test/blackbox/run_blackbox_tests/test_cases_channel_get_flags.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_channel_get_flags.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_channel_open.c b/test/blackbox/run_blackbox_tests/test_cases_channel_open.c index 289f2eca..89c69ba9 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_channel_open.c +++ b/test/blackbox/run_blackbox_tests/test_cases_channel_open.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_channel_open.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_channel_send.c b/test/blackbox/run_blackbox_tests/test_cases_channel_send.c index 1e30739e..f302e2b5 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_channel_send.c +++ b/test/blackbox/run_blackbox_tests/test_cases_channel_send.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_channel_send.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_channel_set_accept_cb.c b/test/blackbox/run_blackbox_tests/test_cases_channel_set_accept_cb.c index c8e4cbcc..9972b63a 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_channel_set_accept_cb.c +++ b/test/blackbox/run_blackbox_tests/test_cases_channel_set_accept_cb.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "../common/containers.h" #include "../common/test_step.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_channel_set_poll_cb.c b/test/blackbox/run_blackbox_tests/test_cases_channel_set_poll_cb.c index 33ce2473..39579e85 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_channel_set_poll_cb.c +++ b/test/blackbox/run_blackbox_tests/test_cases_channel_set_poll_cb.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_channel_set_poll_cb.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_channel_set_receive_cb.c b/test/blackbox/run_blackbox_tests/test_cases_channel_set_receive_cb.c index 2986b3af..1f904cec 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_channel_set_receive_cb.c +++ b/test/blackbox/run_blackbox_tests/test_cases_channel_set_receive_cb.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "../common/containers.h" #include "../common/test_step.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_channel_shutdown.c b/test/blackbox/run_blackbox_tests/test_cases_channel_shutdown.c index b344df52..434afc91 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_channel_shutdown.c +++ b/test/blackbox/run_blackbox_tests/test_cases_channel_shutdown.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_channel_shutdown.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_default_blacklist.c b/test/blackbox/run_blackbox_tests/test_cases_default_blacklist.c index bf53b597..37ddd020 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_default_blacklist.c +++ b/test/blackbox/run_blackbox_tests/test_cases_default_blacklist.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/run_blackbox_tests/test_cases_destroy.c b/test/blackbox/run_blackbox_tests/test_cases_destroy.c index 30bd3766..489e4d64 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_destroy.c +++ b/test/blackbox/run_blackbox_tests/test_cases_destroy.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_destroy.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_export.c b/test/blackbox/run_blackbox_tests/test_cases_export.c index 75e84ec5..db94a002 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_export.c +++ b/test/blackbox/run_blackbox_tests/test_cases_export.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_export.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_get_all_nodes.c b/test/blackbox/run_blackbox_tests/test_cases_get_all_nodes.c index 56a31398..9f298a2c 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_get_all_nodes.c +++ b/test/blackbox/run_blackbox_tests/test_cases_get_all_nodes.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_get_all_nodes_by_dev_class.c b/test/blackbox/run_blackbox_tests/test_cases_get_all_nodes_by_dev_class.c index 82f0e17f..3c1498eb 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_get_all_nodes_by_dev_class.c +++ b/test/blackbox/run_blackbox_tests/test_cases_get_all_nodes_by_dev_class.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_get_all_nodes_by_dev_class.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_get_ex_addr.c b/test/blackbox/run_blackbox_tests/test_cases_get_ex_addr.c index 8868c76d..2c5cea46 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_get_ex_addr.c +++ b/test/blackbox/run_blackbox_tests/test_cases_get_ex_addr.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_get_ex_addr.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_get_fingerprint.c b/test/blackbox/run_blackbox_tests/test_cases_get_fingerprint.c index 1315ec5a..59321f0d 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_get_fingerprint.c +++ b/test/blackbox/run_blackbox_tests/test_cases_get_fingerprint.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_get_node.c b/test/blackbox/run_blackbox_tests/test_cases_get_node.c index 6ecb1467..c46caa5c 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_get_node.c +++ b/test/blackbox/run_blackbox_tests/test_cases_get_node.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_get_node.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_get_port.c b/test/blackbox/run_blackbox_tests/test_cases_get_port.c index 177540b3..9b559844 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_get_port.c +++ b/test/blackbox/run_blackbox_tests/test_cases_get_port.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_get_port.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_get_self.c b/test/blackbox/run_blackbox_tests/test_cases_get_self.c index 53a08335..52f909e7 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_get_self.c +++ b/test/blackbox/run_blackbox_tests/test_cases_get_self.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_get_self.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_hint_address.c b/test/blackbox/run_blackbox_tests/test_cases_hint_address.c index aacbbecd..d79c4889 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_hint_address.c +++ b/test/blackbox/run_blackbox_tests/test_cases_hint_address.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_hint_address.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_import.c b/test/blackbox/run_blackbox_tests/test_cases_import.c index 6b5dfa60..53107a28 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_import.c +++ b/test/blackbox/run_blackbox_tests/test_cases_import.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_import.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_invite.c b/test/blackbox/run_blackbox_tests/test_cases_invite.c index cd5b7faf..e95f278b 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_invite.c +++ b/test/blackbox/run_blackbox_tests/test_cases_invite.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_invite.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_join.c b/test/blackbox/run_blackbox_tests/test_cases_join.c index 39c08ac2..56866fe5 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_join.c +++ b/test/blackbox/run_blackbox_tests/test_cases_join.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_join.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_key_rotation.c b/test/blackbox/run_blackbox_tests/test_cases_key_rotation.c index b413c521..695d5e69 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_key_rotation.c +++ b/test/blackbox/run_blackbox_tests/test_cases_key_rotation.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/run_blackbox_tests/test_cases_open.c b/test/blackbox/run_blackbox_tests/test_cases_open.c index 2655376f..cdfba7b0 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_open.c +++ b/test/blackbox/run_blackbox_tests/test_cases_open.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_open.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_pmtu.c b/test/blackbox/run_blackbox_tests/test_cases_pmtu.c index 0a037d8c..204132d7 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_pmtu.c +++ b/test/blackbox/run_blackbox_tests/test_cases_pmtu.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_pmtu.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_random_port_bindings01.c b/test/blackbox/run_blackbox_tests/test_cases_random_port_bindings01.c index d39d2dc6..45d86ed2 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_random_port_bindings01.c +++ b/test/blackbox/run_blackbox_tests/test_cases_random_port_bindings01.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + /* Modify this to change the logging level of Meshlink */ #define TEST_MESHLINK_LOG_LEVEL MESHLINK_DEBUG diff --git a/test/blackbox/run_blackbox_tests/test_cases_random_port_bindings02.c b/test/blackbox/run_blackbox_tests/test_cases_random_port_bindings02.c index b1a6259c..3fa76069 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_random_port_bindings02.c +++ b/test/blackbox/run_blackbox_tests/test_cases_random_port_bindings02.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/run_blackbox_tests/test_cases_rec_cb.c b/test/blackbox/run_blackbox_tests/test_cases_rec_cb.c index 2f22d7e6..e94f9bfa 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_rec_cb.c +++ b/test/blackbox/run_blackbox_tests/test_cases_rec_cb.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_send.c b/test/blackbox/run_blackbox_tests/test_cases_send.c index 6bb39da3..743636af 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_send.c +++ b/test/blackbox/run_blackbox_tests/test_cases_send.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_send.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_set_connection_try_cb.c b/test/blackbox/run_blackbox_tests/test_cases_set_connection_try_cb.c index e610beb6..45e75542 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_set_connection_try_cb.c +++ b/test/blackbox/run_blackbox_tests/test_cases_set_connection_try_cb.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_set_connection_try_cb.h" #include "../common/test_step.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_set_log_cb.c b/test/blackbox/run_blackbox_tests/test_cases_set_log_cb.c index 14129017..9a287023 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_set_log_cb.c +++ b/test/blackbox/run_blackbox_tests/test_cases_set_log_cb.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_set_log_cb.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_set_port.c b/test/blackbox/run_blackbox_tests/test_cases_set_port.c index b01bc6d8..ca3a2f38 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_set_port.c +++ b/test/blackbox/run_blackbox_tests/test_cases_set_port.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_destroy.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_sign.c b/test/blackbox/run_blackbox_tests/test_cases_sign.c index 6ecbeccd..75880714 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_sign.c +++ b/test/blackbox/run_blackbox_tests/test_cases_sign.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_sign.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_start.c b/test/blackbox/run_blackbox_tests/test_cases_start.c index c01f8f8b..7e6a8e8c 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_start.c +++ b/test/blackbox/run_blackbox_tests/test_cases_start.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_start.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_status_cb.c b/test/blackbox/run_blackbox_tests/test_cases_status_cb.c index 044781b5..f60542b5 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_status_cb.c +++ b/test/blackbox/run_blackbox_tests/test_cases_status_cb.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_status_cb.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_stop_close.c b/test/blackbox/run_blackbox_tests/test_cases_stop_close.c index fc822391..991171a4 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_stop_close.c +++ b/test/blackbox/run_blackbox_tests/test_cases_stop_close.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_stop_close.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_submesh01.c b/test/blackbox/run_blackbox_tests/test_cases_submesh01.c index 0ce3112e..9c1b4329 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_submesh01.c +++ b/test/blackbox/run_blackbox_tests/test_cases_submesh01.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/run_blackbox_tests/test_cases_submesh02.c b/test/blackbox/run_blackbox_tests/test_cases_submesh02.c index 4a59e23f..e80ed26f 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_submesh02.c +++ b/test/blackbox/run_blackbox_tests/test_cases_submesh02.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/run_blackbox_tests/test_cases_submesh03.c b/test/blackbox/run_blackbox_tests/test_cases_submesh03.c index eecd539d..18a80253 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_submesh03.c +++ b/test/blackbox/run_blackbox_tests/test_cases_submesh03.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/run_blackbox_tests/test_cases_submesh04.c b/test/blackbox/run_blackbox_tests/test_cases_submesh04.c index 2cdf9216..54764238 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_submesh04.c +++ b/test/blackbox/run_blackbox_tests/test_cases_submesh04.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/run_blackbox_tests/test_cases_verify.c b/test/blackbox/run_blackbox_tests/test_cases_verify.c index 4040c33e..96a27059 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_verify.c +++ b/test/blackbox/run_blackbox_tests/test_cases_verify.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_verify.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_cases_whitelist.c b/test/blackbox/run_blackbox_tests/test_cases_whitelist.c index dc306d83..0a9dd318 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_whitelist.c +++ b/test/blackbox/run_blackbox_tests/test_cases_whitelist.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_whitelist.h" #include "../common/containers.h" diff --git a/test/blackbox/run_blackbox_tests/test_optimal_pmtu.c b/test/blackbox/run_blackbox_tests/test_optimal_pmtu.c index 51fc808c..d7463e76 100644 --- a/test/blackbox/run_blackbox_tests/test_optimal_pmtu.c +++ b/test/blackbox/run_blackbox_tests/test_optimal_pmtu.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_channel_blacklist_01/node_sim_nut_01.c b/test/blackbox/test_case_channel_blacklist_01/node_sim_nut_01.c index cb140a04..7c173405 100644 --- a/test/blackbox/test_case_channel_blacklist_01/node_sim_nut_01.c +++ b/test/blackbox/test_case_channel_blacklist_01/node_sim_nut_01.c @@ -17,6 +17,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_channel_blacklist_01/node_sim_peer_01.c b/test/blackbox/test_case_channel_blacklist_01/node_sim_peer_01.c index 3d880948..4e36933f 100644 --- a/test/blackbox/test_case_channel_blacklist_01/node_sim_peer_01.c +++ b/test/blackbox/test_case_channel_blacklist_01/node_sim_peer_01.c @@ -17,6 +17,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_channel_conn_01/node_sim_nut.c b/test/blackbox/test_case_channel_conn_01/node_sim_nut.c index 8e819085..25b187fd 100644 --- a/test/blackbox/test_case_channel_conn_01/node_sim_nut.c +++ b/test/blackbox/test_case_channel_conn_01/node_sim_nut.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_channel_conn_01/node_sim_peer.c b/test/blackbox/test_case_channel_conn_01/node_sim_peer.c index a6e82b09..ed746267 100644 --- a/test/blackbox/test_case_channel_conn_01/node_sim_peer.c +++ b/test/blackbox/test_case_channel_conn_01/node_sim_peer.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_channel_conn_02/node_sim_nut.c b/test/blackbox/test_case_channel_conn_02/node_sim_nut.c index f15148ae..f6b16689 100644 --- a/test/blackbox/test_case_channel_conn_02/node_sim_nut.c +++ b/test/blackbox/test_case_channel_conn_02/node_sim_nut.c @@ -19,6 +19,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_channel_conn_02/node_sim_peer.c b/test/blackbox/test_case_channel_conn_02/node_sim_peer.c index c86dd7d7..dc853046 100644 --- a/test/blackbox/test_case_channel_conn_02/node_sim_peer.c +++ b/test/blackbox/test_case_channel_conn_02/node_sim_peer.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_channel_conn_03/node_sim_nut.c b/test/blackbox/test_case_channel_conn_03/node_sim_nut.c index 421542b9..4bd8d289 100644 --- a/test/blackbox/test_case_channel_conn_03/node_sim_nut.c +++ b/test/blackbox/test_case_channel_conn_03/node_sim_nut.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_channel_conn_03/node_sim_peer.c b/test/blackbox/test_case_channel_conn_03/node_sim_peer.c index 32d3753c..19c96f88 100644 --- a/test/blackbox/test_case_channel_conn_03/node_sim_peer.c +++ b/test/blackbox/test_case_channel_conn_03/node_sim_peer.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_channel_conn_04/node_sim_nut.c b/test/blackbox/test_case_channel_conn_04/node_sim_nut.c index 3522da2c..52646399 100644 --- a/test/blackbox/test_case_channel_conn_04/node_sim_nut.c +++ b/test/blackbox/test_case_channel_conn_04/node_sim_nut.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_channel_conn_04/node_sim_peer.c b/test/blackbox/test_case_channel_conn_04/node_sim_peer.c index f2847130..b0873416 100644 --- a/test/blackbox/test_case_channel_conn_04/node_sim_peer.c +++ b/test/blackbox/test_case_channel_conn_04/node_sim_peer.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_channel_conn_05/node_sim_nut.c b/test/blackbox/test_case_channel_conn_05/node_sim_nut.c index 193d554a..f5206995 100644 --- a/test/blackbox/test_case_channel_conn_05/node_sim_nut.c +++ b/test/blackbox/test_case_channel_conn_05/node_sim_nut.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_channel_conn_05/node_sim_peer.c b/test/blackbox/test_case_channel_conn_05/node_sim_peer.c index a6e82b09..ed746267 100644 --- a/test/blackbox/test_case_channel_conn_05/node_sim_peer.c +++ b/test/blackbox/test_case_channel_conn_05/node_sim_peer.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_channel_conn_06/node_sim_nut.c b/test/blackbox/test_case_channel_conn_06/node_sim_nut.c index 8e75bb76..cabd82e8 100644 --- a/test/blackbox/test_case_channel_conn_06/node_sim_nut.c +++ b/test/blackbox/test_case_channel_conn_06/node_sim_nut.c @@ -19,6 +19,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_channel_conn_06/node_sim_peer.c b/test/blackbox/test_case_channel_conn_06/node_sim_peer.c index c1a5b91a..5575c0e5 100644 --- a/test/blackbox/test_case_channel_conn_06/node_sim_peer.c +++ b/test/blackbox/test_case_channel_conn_06/node_sim_peer.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_channel_conn_07/node_sim_nut.c b/test/blackbox/test_case_channel_conn_07/node_sim_nut.c index 5590064f..9be80b62 100644 --- a/test/blackbox/test_case_channel_conn_07/node_sim_nut.c +++ b/test/blackbox/test_case_channel_conn_07/node_sim_nut.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_channel_conn_07/node_sim_peer.c b/test/blackbox/test_case_channel_conn_07/node_sim_peer.c index 32d3753c..19c96f88 100644 --- a/test/blackbox/test_case_channel_conn_07/node_sim_peer.c +++ b/test/blackbox/test_case_channel_conn_07/node_sim_peer.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_channel_conn_08/node_sim_nut.c b/test/blackbox/test_case_channel_conn_08/node_sim_nut.c index 3522da2c..52646399 100644 --- a/test/blackbox/test_case_channel_conn_08/node_sim_nut.c +++ b/test/blackbox/test_case_channel_conn_08/node_sim_nut.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_channel_conn_08/node_sim_peer.c b/test/blackbox/test_case_channel_conn_08/node_sim_peer.c index f2847130..b0873416 100644 --- a/test/blackbox/test_case_channel_conn_08/node_sim_peer.c +++ b/test/blackbox/test_case_channel_conn_08/node_sim_peer.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_optimal_pmtu_01/node_sim_nut.c b/test/blackbox/test_case_optimal_pmtu_01/node_sim_nut.c index 5d8975d3..936720b2 100644 --- a/test/blackbox/test_case_optimal_pmtu_01/node_sim_nut.c +++ b/test/blackbox/test_case_optimal_pmtu_01/node_sim_nut.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_optimal_pmtu_01/node_sim_peer.c b/test/blackbox/test_case_optimal_pmtu_01/node_sim_peer.c index 1768ecae..597f44cc 100644 --- a/test/blackbox/test_case_optimal_pmtu_01/node_sim_peer.c +++ b/test/blackbox/test_case_optimal_pmtu_01/node_sim_peer.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_optimal_pmtu_01/node_sim_relay.c b/test/blackbox/test_case_optimal_pmtu_01/node_sim_relay.c index d733b2b0..0eff6da6 100644 --- a/test/blackbox/test_case_optimal_pmtu_01/node_sim_relay.c +++ b/test/blackbox/test_case_optimal_pmtu_01/node_sim_relay.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_optimal_pmtu_07/node_sim_nut.c b/test/blackbox/test_case_optimal_pmtu_07/node_sim_nut.c index dd1320ae..06332e4c 100644 --- a/test/blackbox/test_case_optimal_pmtu_07/node_sim_nut.c +++ b/test/blackbox/test_case_optimal_pmtu_07/node_sim_nut.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_case_optimal_pmtu_07/node_sim_peer.c b/test/blackbox/test_case_optimal_pmtu_07/node_sim_peer.c index 293bbea4..6a9ec47a 100644 --- a/test/blackbox/test_case_optimal_pmtu_07/node_sim_peer.c +++ b/test/blackbox/test_case_optimal_pmtu_07/node_sim_peer.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_cases_submesh01/node_sim_app1node1.c b/test/blackbox/test_cases_submesh01/node_sim_app1node1.c index 2bf19a94..8c2655e8 100644 --- a/test/blackbox/test_cases_submesh01/node_sim_app1node1.c +++ b/test/blackbox/test_cases_submesh01/node_sim_app1node1.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_cases_submesh01/node_sim_app1node2.c b/test/blackbox/test_cases_submesh01/node_sim_app1node2.c index 2cc7b5cb..051ebc36 100644 --- a/test/blackbox/test_cases_submesh01/node_sim_app1node2.c +++ b/test/blackbox/test_cases_submesh01/node_sim_app1node2.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_cases_submesh01/node_sim_app2node1.c b/test/blackbox/test_cases_submesh01/node_sim_app2node1.c index 059850d0..d50a10ca 100644 --- a/test/blackbox/test_cases_submesh01/node_sim_app2node1.c +++ b/test/blackbox/test_cases_submesh01/node_sim_app2node1.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_cases_submesh01/node_sim_app2node2.c b/test/blackbox/test_cases_submesh01/node_sim_app2node2.c index db65032d..a7a2d1db 100644 --- a/test/blackbox/test_cases_submesh01/node_sim_app2node2.c +++ b/test/blackbox/test_cases_submesh01/node_sim_app2node2.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_cases_submesh01/node_sim_corenode2.c b/test/blackbox/test_cases_submesh01/node_sim_corenode2.c index 222a27ce..d9962725 100644 --- a/test/blackbox/test_cases_submesh01/node_sim_corenode2.c +++ b/test/blackbox/test_cases_submesh01/node_sim_corenode2.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_cases_submesh02/node_sim_app1node1.c b/test/blackbox/test_cases_submesh02/node_sim_app1node1.c index 169520f7..42ffe4f7 100644 --- a/test/blackbox/test_cases_submesh02/node_sim_app1node1.c +++ b/test/blackbox/test_cases_submesh02/node_sim_app1node1.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_cases_submesh02/node_sim_app1node2.c b/test/blackbox/test_cases_submesh02/node_sim_app1node2.c index 1429745b..46a1010c 100644 --- a/test/blackbox/test_cases_submesh02/node_sim_app1node2.c +++ b/test/blackbox/test_cases_submesh02/node_sim_app1node2.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_cases_submesh02/node_sim_app2node1.c b/test/blackbox/test_cases_submesh02/node_sim_app2node1.c index 059850d0..d50a10ca 100644 --- a/test/blackbox/test_cases_submesh02/node_sim_app2node1.c +++ b/test/blackbox/test_cases_submesh02/node_sim_app2node1.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_cases_submesh02/node_sim_app2node2.c b/test/blackbox/test_cases_submesh02/node_sim_app2node2.c index 2bf43dee..d29350f6 100644 --- a/test/blackbox/test_cases_submesh02/node_sim_app2node2.c +++ b/test/blackbox/test_cases_submesh02/node_sim_app2node2.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_cases_submesh02/node_sim_corenode2.c b/test/blackbox/test_cases_submesh02/node_sim_corenode2.c index 222a27ce..d9962725 100644 --- a/test/blackbox/test_cases_submesh02/node_sim_corenode2.c +++ b/test/blackbox/test_cases_submesh02/node_sim_corenode2.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_cases_submesh03/node_sim_app1node1.c b/test/blackbox/test_cases_submesh03/node_sim_app1node1.c index 169520f7..42ffe4f7 100644 --- a/test/blackbox/test_cases_submesh03/node_sim_app1node1.c +++ b/test/blackbox/test_cases_submesh03/node_sim_app1node1.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_cases_submesh03/node_sim_app1node2.c b/test/blackbox/test_cases_submesh03/node_sim_app1node2.c index 450d5338..65fb80b8 100644 --- a/test/blackbox/test_cases_submesh03/node_sim_app1node2.c +++ b/test/blackbox/test_cases_submesh03/node_sim_app1node2.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_cases_submesh04/node_sim_app1node1.c b/test/blackbox/test_cases_submesh04/node_sim_app1node1.c index 169520f7..42ffe4f7 100644 --- a/test/blackbox/test_cases_submesh04/node_sim_app1node1.c +++ b/test/blackbox/test_cases_submesh04/node_sim_app1node1.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/test_cases_submesh04/node_sim_app1node2.c b/test/blackbox/test_cases_submesh04/node_sim_app1node2.c index 28bbaa19..0b30963d 100644 --- a/test/blackbox/test_cases_submesh04/node_sim_app1node2.c +++ b/test/blackbox/test_cases_submesh04/node_sim_app1node2.c @@ -18,6 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/blackbox/util/gen_invite.c b/test/blackbox/util/gen_invite.c index beb7401f..365e9fbf 100644 --- a/test/blackbox/util/gen_invite.c +++ b/test/blackbox/util/gen_invite.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/channels-aio-fd.c b/test/channels-aio-fd.c index 3d0a9fea..3559e8e7 100644 --- a/test/channels-aio-fd.c +++ b/test/channels-aio-fd.c @@ -1,3 +1,7 @@ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/channels-aio.c b/test/channels-aio.c index bf4b8704..f0b3fc03 100644 --- a/test/channels-aio.c +++ b/test/channels-aio.c @@ -1,3 +1,7 @@ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/channels-cornercases.c b/test/channels-cornercases.c index fac9e1fd..369ac4ee 100644 --- a/test/channels-cornercases.c +++ b/test/channels-cornercases.c @@ -1,5 +1,9 @@ #define _GNU_SOURCE +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/channels-failure.c b/test/channels-failure.c index 5c980055..8e17341d 100644 --- a/test/channels-failure.c +++ b/test/channels-failure.c @@ -1,3 +1,7 @@ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/channels-fork.c b/test/channels-fork.c index 321e5ea6..8a2ddd80 100644 --- a/test/channels-fork.c +++ b/test/channels-fork.c @@ -1,4 +1,9 @@ #define _GNU_SOURCE 1 + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/channels-no-partial.c b/test/channels-no-partial.c index d8a8bf1e..bcf8cec1 100644 --- a/test/channels-no-partial.c +++ b/test/channels-no-partial.c @@ -1,3 +1,7 @@ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/channels-udp.c b/test/channels-udp.c index f026d48b..27265aac 100644 --- a/test/channels-udp.c +++ b/test/channels-udp.c @@ -1,3 +1,7 @@ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/channels.c b/test/channels.c index e85abe10..5dd4f428 100644 --- a/test/channels.c +++ b/test/channels.c @@ -1,3 +1,7 @@ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/duplicate.c b/test/duplicate.c index 7905bb53..28155711 100644 --- a/test/duplicate.c +++ b/test/duplicate.c @@ -1,3 +1,7 @@ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/echo-fork.c b/test/echo-fork.c index aae7531f..94000c68 100644 --- a/test/echo-fork.c +++ b/test/echo-fork.c @@ -1,4 +1,9 @@ #define _GNU_SOURCE + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/encrypted.c b/test/encrypted.c index 17b2fd80..a97e0eec 100644 --- a/test/encrypted.c +++ b/test/encrypted.c @@ -1,3 +1,7 @@ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/ephemeral.c b/test/ephemeral.c index 845b2182..07bb745a 100644 --- a/test/ephemeral.c +++ b/test/ephemeral.c @@ -1,3 +1,7 @@ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/import-export.c b/test/import-export.c index b3d52da6..133cbcbe 100644 --- a/test/import-export.c +++ b/test/import-export.c @@ -1,3 +1,7 @@ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/invite-join.c b/test/invite-join.c index d2f33966..49b5981b 100644 --- a/test/invite-join.c +++ b/test/invite-join.c @@ -1,3 +1,7 @@ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/sign-verify.c b/test/sign-verify.c index 837bd2d2..66f4ecc3 100644 --- a/test/sign-verify.c +++ b/test/sign-verify.c @@ -1,3 +1,7 @@ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/trio.c b/test/trio.c index a60d0f26..9fa7de33 100644 --- a/test/trio.c +++ b/test/trio.c @@ -1,5 +1,9 @@ #define _GNU_SOURCE +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/trio2.c b/test/trio2.c index c21cba22..283b280a 100644 --- a/test/trio2.c +++ b/test/trio2.c @@ -1,5 +1,9 @@ #define _GNU_SOURCE +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include diff --git a/test/utils.c b/test/utils.c index f7dd3b3c..c11894b7 100644 --- a/test/utils.c +++ b/test/utils.c @@ -1,5 +1,9 @@ #define _GNU_SOURCE 1 +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include