From 7e0a7379352fbaf96ecd478b6b428a6d1c18ac1f Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Thu, 10 Sep 2020 21:31:26 +0100 Subject: Use sections to generate list of tests --- test_gen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test_gen.c') diff --git a/test_gen.c b/test_gen.c index 0687146..7b36afc 100644 --- a/test_gen.c +++ b/test_gen.c @@ -148,7 +148,7 @@ static void generate_simple(FILE *out, enum fmt fmt) sign = islower(fi->fmt); - fprintf(out, "TEST(%s)\n", cname(fi->type)); + fprintf(out, "TEST(%s, \"simple unpack %s\")\n", cname(fi->type), fi->type); fprintf(out, "{\n"); fprintf(out, "\t%s v[1] = { __LINE__ };\n", fi->type); for (size_t e = 0; e < sizeof endian / sizeof endian[0]; e++) { -- cgit v1.2.3-54-g00ecf