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

Re: Test suite best practices ?



On Sun, 02 Jun 2013 20:59:13 +0200
Xavier Roche <rocheml@httrack.com> wrote:

> Hi folks,
> 
> Are there any "best practices" on how to handle test suite in Debian ?

One thing which hasn't been mentioned so far, always ensure that your
test suite only runs if DEB_BUILD_OPTIONS="nocheck" is *not* set.

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
     	# Code to run the package test suite.
endif

It's recommended in Policy but if a package has a test suite, there is
no good reason not to allow for nocheck.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: pgpsUCetzJ_jr.pgp
Description: PGP signature


Reply to: