6 extern struct TestDescription tests[];
11 struct TestDescription *test = tests;
12 int tested = 0, succeeded = 0, failed = 0;
13 while(test->name != NULL) {
15 /* Use stdio.h to print to stdout, Glk can't do that */
16 printf(" Testing %s... ", test->name);
17 if( test->testfunc() ) {
26 printf("%d tests run, %d failures\n", tested, failed);