X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=test%2Fblackbox%2Frun_blackbox_tests%2Frun_blackbox_tests.c;h=62387c94991e6af9d06e932470c1dd05f351d2e4;hb=0685a3b696644739cf0a6c68e558b417af23c591;hp=df23d5ae30d452460fcacc6932fa8b2684d8eac5;hpb=4108810af455f463dfbcdac0e2e0b2ba0312bf26;p=meshlink diff --git a/test/blackbox/run_blackbox_tests/run_blackbox_tests.c b/test/blackbox/run_blackbox_tests/run_blackbox_tests.c index df23d5ae..62387c94 100644 --- a/test/blackbox/run_blackbox_tests/run_blackbox_tests.c +++ b/test/blackbox/run_blackbox_tests/run_blackbox_tests.c @@ -1,7 +1,7 @@ /* run_blackbox_tests.c -- Implementation of Black Box Test Execution for meshlink - Copyright (C) 2018 Guus Sliepen + Copyright (C) 2019 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -70,6 +70,11 @@ #include "test_cases_submesh02.h" #include "test_cases_submesh03.h" #include "test_cases_submesh04.h" +#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" @@ -89,7 +94,6 @@ int main(int argc, char *argv[]) { int failed_tests = 0; - /* failed_tests += test_meta_conn(); failed_tests += test_meshlink_set_status_cb(); failed_tests += test_meshlink_join(); @@ -133,14 +137,20 @@ int main(int argc, char *argv[]) { failed_tests += test_meshlink_channel_conn(); failed_tests += test_optimal_pmtu(); - */ + failed_tests += test_cases_submesh01(); failed_tests += test_cases_submesh02(); failed_tests += test_cases_submesh03(); failed_tests += test_cases_submesh04(); + failed_tests += test_meshlink_autoconnect(); + failed_tests += test_cases_connection_try(); + failed_tests += test_optimal_pmtu(); + 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);