aboutsummaryrefslogtreecommitdiffstats
path: root/test_gen.c
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2020-09-10 21:31:26 +0100
committerTomasz Kramkowski <tk@the-tk.com>2020-09-10 21:31:26 +0100
commit7e0a7379352fbaf96ecd478b6b428a6d1c18ac1f (patch)
tree48cc42fb5b1ade8d420ffa3557de368f54940b31 /test_gen.c
parentb270e1fba25e48e972900f7ea391eedba5ce7672 (diff)
downloadpack-7e0a7379352fbaf96ecd478b6b428a6d1c18ac1f.tar.gz
pack-7e0a7379352fbaf96ecd478b6b428a6d1c18ac1f.tar.xz
pack-7e0a7379352fbaf96ecd478b6b428a6d1c18ac1f.zip
Use sections to generate list of tests
Diffstat (limited to 'test_gen.c')
-rw-r--r--test_gen.c2
1 files changed, 1 insertions, 1 deletions
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++) {