]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/run_blackbox_tests/run_blackbox_tests.c
Add meshlink_get_all_nodes_by_last_reachable API, meshlink_get_node_reachability...
[meshlink] / test / blackbox / run_blackbox_tests / run_blackbox_tests.c
index a1eecb51986c51b64e16e2e21d811bcdeba62535..fe6f9a91ada9c3935154c3eaf8d99affc009cba9 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>
@@ -77,6 +82,8 @@
 #include "test_cases_random_port_bindings01.h"
 #include "test_cases_random_port_bindings02.h"
 
+#include "test_cases_get_node_reachability.h"
+
 #include "../common/containers.h"
 #include "../common/common_handlers.h"
 
@@ -153,6 +160,8 @@ int main(int argc, char *argv[]) {
        failed_tests += test_meshlink_random_port_bindings01();
        failed_tests += test_meshlink_random_port_bindings02();
 
+       failed_tests += test_get_node_reachability();
+
        printf("[ PASSED ] %d test(s).\n", total_tests - failed_tests);
        printf("[ FAILED ] %d test(s).\n", failed_tests);