commit 0b60328d4800f27a32416b6870ced42b88233d3c
parent a38245ac1190cc6e2075b775e25fc05d19689e22
Author: LRN <lrn1986@gmail.com>
Date: Mon, 20 Aug 2012 07:13:41 +0000
Also report missing metadata when testing
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/plugins/test_lib.c b/src/plugins/test_lib.c
@@ -123,7 +123,16 @@ ET_main (const char *plugin_name,
for (i=0; NULL != ps[i].filename; i++)
for (j=0; -1 != ps[i].solution[j].solved; j++)
if (0 == ps[i].solution[j].solved)
+ {
ret = 1;
+ fprintf (stderr,
+ "Did not get expected meta data of type %d and format %d with value `%.*s' from plugin `%s'\n",
+ ps[i].solution[j].type,
+ ps[i].solution[j].format,
+ (int) ps[i].solution[j].data_len,
+ ps[i].solution[j].data,
+ plugin_name);
+ }
return ret;
}