diff options
Diffstat (limited to 'auto_tests/assoc_test.c')
-rw-r--r-- | auto_tests/assoc_test.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/auto_tests/assoc_test.c b/auto_tests/assoc_test.c index 5f496ece..b377cadf 100644 --- a/auto_tests/assoc_test.c +++ b/auto_tests/assoc_test.c | |||
@@ -1,4 +1,3 @@ | |||
1 | |||
2 | #ifdef HAVE_CONFIG_H | 1 | #ifdef HAVE_CONFIG_H |
3 | #include "config.h" | 2 | #include "config.h" |
4 | #endif | 3 | #endif |
@@ -14,6 +13,8 @@ | |||
14 | 13 | ||
15 | #include <check.h> | 14 | #include <check.h> |
16 | 15 | ||
16 | #include "helpers.h" | ||
17 | |||
17 | START_TEST(test_basics) | 18 | START_TEST(test_basics) |
18 | { | 19 | { |
19 | /* TODO: real test */ | 20 | /* TODO: real test */ |
@@ -132,15 +133,6 @@ START_TEST(test_fillup) | |||
132 | } | 133 | } |
133 | END_TEST | 134 | END_TEST |
134 | 135 | ||
135 | #define DEFTESTCASE(NAME) \ | ||
136 | TCase *tc_##NAME = tcase_create(#NAME); \ | ||
137 | tcase_add_test(tc_##NAME, test_##NAME); \ | ||
138 | suite_add_tcase(s, tc_##NAME); | ||
139 | |||
140 | #define DEFTESTCASE_SLOW(NAME, TIMEOUT) \ | ||
141 | DEFTESTCASE(NAME) \ | ||
142 | tcase_set_timeout(tc_##NAME, TIMEOUT); | ||
143 | |||
144 | Suite *Assoc_suite(void) | 136 | Suite *Assoc_suite(void) |
145 | { | 137 | { |
146 | Suite *s = suite_create("Assoc"); | 138 | Suite *s = suite_create("Assoc"); |