]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/run_blackbox_tests/run_blackbox_tests.c
Add meta-connection attempt callback feature
[meshlink] / test / blackbox / run_blackbox_tests / run_blackbox_tests.c
index edf0f95dc977d28278ce6108ecdaf3d2c429465b..b174ab7e2314169af9776c970b572e4290ddbe9c 100644 (file)
@@ -1,7 +1,7 @@
 /*
     run_blackbox_tests.c -- Implementation of Black Box Test Execution for meshlink
 
-    Copyright (C) 2018  Guus Sliepen <guus@meshlink.io>
+    Copyright (C) 2019  Guus Sliepen <guus@meshlink.io>
 
     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,8 +70,8 @@
 #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 "../common/containers.h"
 #include "../common/common_handlers.h"
@@ -91,7 +91,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();
@@ -140,8 +139,9 @@ int main(int argc, char *argv[]) {
        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();