test/harness/testcase.h
changeset 2 cbd63f7ba40f
child 6 faab25d520dd
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/harness/testcase.h	Wed Jan 25 19:33:43 2012 +0000
     1.3 @@ -0,0 +1,16 @@
     1.4 +#ifndef TESTCASE_H
     1.5 +#define TESTCASE_H
     1.6 +
     1.7 +typedef struct {
     1.8 +    char *basename;
     1.9 +    char *input;
    1.10 +    char *expected;
    1.11 +    enum {
    1.12 +	TESTCASE_XFAIL=1<<0,
    1.13 +    } flags;
    1.14 +} Testcase;
    1.15 +
    1.16 +boolean testcase_run(Testcase *testcase);
    1.17 +void testcase_free(Testcase *testcase);
    1.18 +
    1.19 +#endif	/* TESTCASE_H */