]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/run_blackbox_tests/run_blackbox_tests.c
Ensure NDEBUG is not set in the test suite.
[meshlink] / test / blackbox / run_blackbox_tests / run_blackbox_tests.c
index b174ab7e2314169af9776c970b572e4290ddbe9c..b2e0b61852c376d7b63b0db3a4582ee8ee08c17f 100644 (file)
     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 <stdlib.h>
 #include <stdarg.h>
 #include <setjmp.h>
@@ -63,6 +68,7 @@
 #include "test_cases_channel_set_receive_cb.h"
 #include "test_cases_hint_address.h"
 #include "test_optimal_pmtu.h"
+#include "test_cases_key_rotation.h"
 
 #include "test_cases_channel_conn.h"
 #include "test_cases_get_all_nodes_by_dev_class.h"
@@ -73,6 +79,9 @@
 #include "test_cases_autoconnect.h"
 #include "test_cases_set_connection_try_cb.h"
 
+#include "test_cases_random_port_bindings01.h"
+#include "test_cases_random_port_bindings02.h"
+
 #include "../common/containers.h"
 #include "../common/common_handlers.h"
 
@@ -144,6 +153,10 @@ int main(int argc, char *argv[]) {
        failed_tests += test_cases_connection_try();
 
        failed_tests += test_optimal_pmtu();
+       failed_tests += test_meshlink_encrypted_key_rotation();
+
+       failed_tests += test_meshlink_random_port_bindings01();
+       failed_tests += test_meshlink_random_port_bindings02();
 
        printf("[ PASSED ] %d test(s).\n", total_tests - failed_tests);
        printf("[ FAILED ] %d test(s).\n", failed_tests);