[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#902392: lintian: override_dh_auto_test nocheck recommendation breaks build



On Mon, Jun 25, 2018 at 09:54:13PM +0100, Chris Lamb wrote:
> tags 902392 + moreinfo
> thanks
> 
> Hi Phil,
> 
> > /bin/sh: 1: Syntax error: word unexpected (expecting ")")
> 
> So, I suspect you tried:
> 
> override_dh_auto_test:
> 	ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
> 	dh_auto_test
> 	busted -C CorsixTH/Luatest --verbose
> 	endif
> 
> instead of:
> 
> override_dh_auto_test:
> ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
> 	dh_auto_test
> 	busted -C CorsixTH/Luatest --verbose
> endif
> 
> Note the different indentation level of the "ifeq" which must be at
> column 1.

You are of course correct and thanks for the fix. I'm not sure how to mark
this report as invalid, rather than closed, sorry.

Attachment: signature.asc
Description: PGP signature


Reply to: