aboutsummaryrefslogtreecommitdiffstats
path: root/test_gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'test_gen.c')
-rw-r--r--test_gen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test_gen.c b/test_gen.c
index d6b162d..cc78c40 100644
--- a/test_gen.c
+++ b/test_gen.c
@@ -149,10 +149,10 @@ static void generate_simple(FILE *out, enum fmt fmt, int arraysize)
sign = islower(fi->fmt);
- fprintf(out, "TEST(simple%d_%s, \"simple", arraysize, cname(fi->type));
+ fprintf(out, "TEST(unpack_simple%d_%s, \"unpack simple", arraysize, cname(fi->type));
if (arraysize != 0)
fprintf(out, " array[%d]", arraysize);
- fprintf(out, " unpack %s\")\n", fi->type);
+ fprintf(out, " %s\")\n", fi->type);
fprintf(out, "{\n");
fprintf(out, "\t%s v[%d] = { ", fi->type, realsize );
for (int i = 0; i < realsize; i++)