Le 03/06/2013 10:58, Neil Williams a écrit :
> 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

Note that dh_auto_test (which seems to be the canonical way to call
tests during build) actually already checks that:

(...)
if (defined $ENV{DEB_BUILD_OPTIONS} && $ENV{DEB_BUILD_OPTIONS} =~
/nocheck/) {
        exit 0;
}


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51acce52.3040...@httrack.com

Reply via email to