From: Guillem Jover Date: Sat, 22 Mar 2008 05:09:55 +0000 (+0200) Subject: Add support for nocheck DEB_BUILD_OPTIONS in debian/rules X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8906919e1d3dbca07831199118803fe3eca64f5;p=dpkg Add support for nocheck DEB_BUILD_OPTIONS in debian/rules So that the dpkg test suite can be skept if desired. --- diff --git a/debian/changelog b/debian/changelog index 489e9b05..31d6cac4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -32,6 +32,8 @@ dpkg (1.14.17) UNRELEASED; urgency=low * Few file descriptor cleanup and error handling fixes. Thanks to Ian Jackson. Closes: #443338 * Move test suite invokation to a new check target in debian/rules. + * Add support for nocheck DEB_BUILD_OPTIONS in debian/rules, so that the + dpkg test suite can be skept if desired. [ Raphael Hertzog ] * Add a warning displayed by dpkg-genchanges if the current version is diff --git a/debian/rules b/debian/rules index 31a44282..03f84d1d 100755 --- a/debian/rules +++ b/debian/rules @@ -66,7 +66,9 @@ build: build-tree/config.status check: build dh_testdir +ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) cd build-tree && $(MAKE) check +endif # Install the package underneath debian/tmp install: check