author | Tero Marttila <terom@fixme.fi> |
Mon, 04 May 2009 20:55:04 +0300 | |
branch | new-transport |
changeset 168 | a58ad50911fc |
child 195 | 42aedce3e2eb |
permissions | -rw-r--r-- |
168 | 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 |