From c01a2e8c981d145455de63653123a7b52756a9b5 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Mon, 14 Jun 2010 15:36:56 -0600 Subject: [PATCH] add make check to the rules file --- debian/changelog | 1 + debian/rules | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index b3be9ef..8785d2e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ amanda (1:3.1.0-1) UNRELEASED; urgency=low * new upstream version + * turn on regression tests -- Bdale Garbee Mon, 14 Jun 2010 13:46:03 -0600 diff --git a/debian/rules b/debian/rules index 3673f1a..a26fcc1 100755 --- a/debian/rules +++ b/debian/rules @@ -50,9 +50,14 @@ configure-stamp: build: build-stamp build-stamp: configure-stamp dh_testdir - MAILER=/usr/bin/mail make CFLAGS="-O2 -g -Wall \ + MAILER=/usr/bin/mail $(MAKE) CFLAGS="-O2 -g -Wall \ -DAMANDATES_FILE='\"/var/lib/amanda/amandates\"' \ -DIGNORE_TAR_ERRORS " +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) +ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) + $(MAKE) check +endif +endif touch build-stamp clean: -- 2.30.2