src/test/test_list.c
author Tero Marttila <terom@fixme.fi>
Mon, 04 May 2009 20:55:04 +0300
branchnew-transport
changeset 168 a58ad50911fc
child 195 42aedce3e2eb
permissions -rw-r--r--
refactor test.c into tests/*
#include "test.h"

/**
 * Test function prototypes
 */
#define TEST(name) extern void test_ ##name (void);

    #include "test_list.inc"


/**
 * The array of test structs
 */
#define TEST(name) { #name, test_ ## name, false },
#define TEST_OPTIONAL(name) { #name, test_ ## name, true },
#define TEST_END { NULL, NULL, false }

const struct test _tests[] = {
    #include "test_list.inc"
};