[Tarantool-patches] [PATCH v2 1/3] test: update unit test lib to produce TAP-compliant output

Sergey Bronnikov sergeyb at tarantool.org
Tue Jun 9 21:25:48 MSK 2020


Hi!

Thanks for review!

On 01:55 Tue 09 Jun , Vladislav Shpilevoy wrote:
> Hi! Thanks for the patch!
> 
> > diff --git a/test/unit/unit.h b/test/unit/unit.h
> > index 43c301b28..b0f9e7f9f 100644
> > --- a/test/unit/unit.h
> > +++ b/test/unit/unit.h
> > @@ -129,6 +126,16 @@ int check_plan(void);
> >  	}						\
> >  }
> >  
> > +#define header() do {                                   \
> > +        _space(stdout);                                 \
> > +        printf("# *** %s ***\n", __func__);             \
> > +} while(0)
> > +
> > +#define footer() do {                                   \
> > +        _space(stdout);                                 \
> > +        printf("# *** %s: done ***\n", __func__);       \
> 
> All the other alignments use tabs. Lets use tabs here too.

Fixed in a branch too.


More information about the Tarantool-patches mailing list