diff -r 000000000000 -r 707d51fedbe0 test/harness/gc-test.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/harness/gc-test.c Tue Jan 24 23:57:11 2012 +0000 @@ -0,0 +1,31 @@ +#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