From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp34.i.mail.ru (smtp34.i.mail.ru [94.100.177.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 9B9A8469710 for ; Mon, 8 Jun 2020 18:38:47 +0300 (MSK) Date: Mon, 8 Jun 2020 18:37:39 +0300 From: Sergey Bronnikov Message-ID: <20200608153739.GC53062@pony.bronevichok.ru> References: <0efa478f960af63eca977f5c3d9615c87197ccc5.1590053781.git.sergeyb@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Subject: Re: [Tarantool-patches] [PATCH 1/2] test: update unit test lib to produce TAP-compliant output List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladislav Shpilevoy Cc: o.piskunov@tarantool.org, tarantool-patches@dev.tarantool.org, Alexander Turenko Hi, Vladislav thanks for spending time on review of my patches! On 00:52 Thu 04 Jun , Vladislav Shpilevoy wrote: > Thanks for the patch! > > > diff --git a/test/unit/unit.h b/test/unit/unit.h > > index 43c301b28..27879ea98 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__); \ > > Since alignment is used, lets use it correctly. And align all > the slashes in the same way. Fixed. > I mean footer and header slashes. Slightly screwed tabs inside > footer and inside header macros are git diff artifacts, no problem > here. > > > +} while(0) > > + > > #if defined(__cplusplus) > > } > > #endif /* defined(__cplusplus) */ -- sergeyb@