]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/run_blackbox_tests/run_blackbox_tests.c
Add test cases for the PMTU discovery mechanism.
[meshlink] / test / blackbox / run_blackbox_tests / run_blackbox_tests.c
index 5cfb21f77a2fed856b2d7c195b80073fc82971ad..0b706e1225e5a2f8c786ebfc6f206efa225c33ca 100644 (file)
@@ -62,6 +62,7 @@
 #include "test_cases_channel_set_poll_cb.h"
 #include "test_cases_channel_set_receive_cb.h"
 #include "test_cases_hint_address.h"
+#include "test_optimal_pmtu.h"
 
 #include "test_cases_channel_conn.h"
 
@@ -83,7 +84,7 @@ int main(int argc, char *argv[]) {
 
        int failed_tests = 0;
 
-       /*failed_tests += test_meta_conn();
+       failed_tests += test_meta_conn();
        failed_tests += test_meshlink_set_status_cb();
        failed_tests += test_meshlink_join();
        failed_tests += test_meshlink_set_channel_poll_cb();
@@ -123,8 +124,9 @@ int main(int argc, char *argv[]) {
        failed_tests += test_meshlink_channel_open();
        failed_tests += test_meshlink_channel_close();
 
-       failed_tests += test_meshlink_channel_conn();*/
+       failed_tests += test_meshlink_channel_conn();
 
+       failed_tests += test_optimal_pmtu();
 
        printf("[ PASSED ] %d test(s).\n", total_tests - failed_tests);
        printf("[ FAILED ] %d test(s).\n", failed_tests);