#include #include #include #include #include "testcase.h" #include "testcaseio.h" /* * Returns FALSE if the test should be considered to have failed. * (returns TRUE on pass or expected-fail). */ boolean run_test(const char *filename) { Testcase *testcase; boolean retval; testcase=testcase_parse_file(filename); if (!testcase) return FALSE; retval=testcase_run(testcase); testcase_free(testcase); return retval; } int main(int argc,char **argv) { int i; boolean pass=TRUE; for(i=1;i