diff options
Diffstat (limited to 'auto_tests/network_test.c')
-rw-r--r-- | auto_tests/network_test.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/auto_tests/network_test.c b/auto_tests/network_test.c index afd90e7a..9d07fbb4 100644 --- a/auto_tests/network_test.c +++ b/auto_tests/network_test.c | |||
@@ -11,6 +11,8 @@ | |||
11 | 11 | ||
12 | #include "../toxcore/network.h" | 12 | #include "../toxcore/network.h" |
13 | 13 | ||
14 | #include "helpers.h" | ||
15 | |||
14 | START_TEST(test_addr_resolv_localhost) | 16 | START_TEST(test_addr_resolv_localhost) |
15 | { | 17 | { |
16 | #ifdef __CYGWIN__ | 18 | #ifdef __CYGWIN__ |
@@ -141,11 +143,6 @@ START_TEST(test_struct_sizes) | |||
141 | } | 143 | } |
142 | END_TEST | 144 | END_TEST |
143 | 145 | ||
144 | #define DEFTESTCASE(NAME) \ | ||
145 | TCase *tc_##NAME = tcase_create(#NAME); \ | ||
146 | tcase_add_test(tc_##NAME, test_##NAME); \ | ||
147 | suite_add_tcase(s, tc_##NAME); | ||
148 | |||
149 | Suite *network_suite(void) | 146 | Suite *network_suite(void) |
150 | { | 147 | { |
151 | Suite *s = suite_create("Network"); | 148 | Suite *s = suite_create("Network"); |