1.1 --- a/test/harness/testcaseparser.c Mon Jan 30 23:32:47 2012 +0000
1.2 +++ b/test/harness/testcaseparser.c Sat Oct 05 21:37:31 2013 +0100
1.3 @@ -91,9 +91,12 @@
1.4 {
1.5 TestcaseParser *parser;
1.6 gsize len;
1.7 + GError *err=NULL;
1.8 parser=g_new0(TestcaseParser,1);
1.9 - if (!file_get_contents_text(filename,&parser->contents,&len))
1.10 + if (!file_get_contents_text(filename,&parser->contents,&len,&err))
1.11 {
1.12 + g_printerr("%s: %s\n",filename,err->message);
1.13 + g_error_free(err);
1.14 g_free(parser);
1.15 return NULL;
1.16 }