branch | new-transport |
changeset 168 | a58ad50911fc |
child 195 | 42aedce3e2eb |
167:0d2d8ca879d8 | 168:a58ad50911fc |
---|---|
1 #include "test.h" |
|
2 |
|
3 /** |
|
4 * Test function prototypes |
|
5 */ |
|
6 #define TEST(name) extern void test_ ##name (void); |
|
7 |
|
8 #include "test_list.inc" |
|
9 |
|
10 |
|
11 /** |
|
12 * The array of test structs |
|
13 */ |
|
14 #define TEST(name) { #name, test_ ## name, false }, |
|
15 #define TEST_OPTIONAL(name) { #name, test_ ## name, true }, |
|
16 #define TEST_END { NULL, NULL, false } |
|
17 |
|
18 const struct test _tests[] = { |
|
19 #include "test_list.inc" |
|
20 }; |
|
21 |