From: Guillem Jover Date: Sat, 22 Mar 2008 05:07:26 +0000 (+0200) Subject: Move test suite invokation to a new check target in debian/rules X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14ad2be159bed19f8878d43dc499b4b201fc3888;p=dpkg Move test suite invokation to a new check target in debian/rules --- diff --git a/debian/changelog b/debian/changelog index 22a4cf07..489e9b05 100644 --- a/debian/changelog +++ b/debian/changelog @@ -31,6 +31,7 @@ dpkg (1.14.17) UNRELEASED; urgency=low Thanks to Ian Jackson. Closes: #386210 * 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. [ Raphael Hertzog ] * Add a warning displayed by dpkg-genchanges if the current version is diff --git a/debian/rules b/debian/rules index 73855d8c..31a44282 100755 --- a/debian/rules +++ b/debian/rules @@ -61,10 +61,15 @@ build: build-tree/config.status dh_testdir cd build-tree && $(MAKE) + +# Run the test suites +check: build + dh_testdir + cd build-tree && $(MAKE) check # Install the package underneath debian/tmp -install: build +install: check dh_testdir dh_testroot dh_clean -k @@ -133,4 +138,4 @@ clean: dh_clean -.PHONY: build install binary-arch binary-indep binary clean +.PHONY: build check install binary-arch binary-indep binary clean