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

Bug#902392: lintian: override_dh_auto_test nocheck recommendation breaks build



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.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-


Reply to: