From 14ad2be159bed19f8878d43dc499b4b201fc3888 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 22 Mar 2008 07:07:26 +0200 Subject: [PATCH] Move test suite invokation to a new check target in debian/rules --- debian/changelog | 1 + debian/rules | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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 -- 2.39.5