[LTP] [PATCH v2 1/2] lib: Add support for test tags
Cyril Hrubis
chrubis@suse.cz
Wed Nov 6 16:26:34 CET 2019
Hi!
> > + fprintf(stderr, "Options\n");
> > + fprintf(stderr, "-------\n\n");
> I still would remove this extra new line:
> fprintf(stderr, "-------\n");
> > +
> > for (i = 0; i < ARRAY_SIZE(options); i++)
> > fprintf(stderr, "%s\n", options[i].help);
>
> > @@ -424,6 +430,28 @@ static void print_help(void)
> > fprintf(stderr, "%s\n", tst_test->options[i].help);
> > }
>
> > +static void print_test_tags(void)
> > +{
> > + unsigned int i;
> > + const struct tst_tag *tags = tst_test->tags;
> > +
> > + printf("\nTags\n");
> > + printf("----\n\n");
> And here:
> printf("----\n");
Changed as you suggested and pushed whole patchset, many thanks for
reviews.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list