From f8906919e1d3dbca07831199118803fe3eca64f5 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 22 Mar 2008 07:09:55 +0200 Subject: [PATCH] Add support for nocheck DEB_BUILD_OPTIONS in debian/rules So that the dpkg test suite can be skept if desired. --- debian/changelog | 2 ++ debian/rules | 2 ++ 2 files changed, 4 insertions(+) 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 -- 2.39.5