[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.4.3-21-g6d868dc



The following commit has been merged in the master branch:
commit 6d868dcf683f3bda40c3ac76afb84c5c7e7629e8
Author: David Bremner <bremner@debian.org>
Date:   Mon Dec 20 22:59:33 2010 -0400

    debian/rules: Add support for skipping the test suite per policy 4.9.1
    
        + [NT] Add support for skipping the test suite per policy 4.9.1.
          Many thanks to David Bremner for the patch.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/debian/changelog b/debian/changelog
index df45810..877755a 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -52,6 +52,8 @@ lintian (2.4.4) UNRELEASED; urgency=low
   * debian/rules:
     + [RA] Run the test suite during the package build.
     + [NT] Replace dh_clean -k with dh_prep.
+    + [NT] Add support for skipping the test suite per policy 4.9.1.
+      Many thanks to David Bremner for the patch.
   * debian/compat:
     + [NT] Bump debhelper comat to 7.
 
diff --git a/debian/rules b/debian/rules
index 81ceab8..a4a9bc8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,12 @@ perlprovides := data/fields/perl-provides
 onlyrun =
 tag =
 
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	testtarget = runtests
+else
+	testtarget =
+endif
+
 runtests: $(neededfiles) $(allchecks) $(allcollect) $(tagfiles) $(testfiles)
 	@echo .... running tests ....
 	rm -rf debian/tests
@@ -37,7 +43,7 @@ refresh-perl-provides:
 	perl private/refresh-perl-provides > $(perlprovides)
 
 build: build-stamp
-build-stamp: $(neededfiles) $(docsource) runtests
+build-stamp: $(neededfiles) $(docsource) $(testtarget)
 	@echo .... running build ....
 	dh_testdir
 	cd doc && LANG=C debiandoc2html lintian.sgml

-- 
Debian package checker


Reply to: