[libbusiness-isbn-perl] 03/05: No longer required to skip tests

Nuno Carvalho smash at cpan.org
Thu Oct 6 16:27:32 UTC 2016


This is an automated email from the git hooks/post-receive script.

mestre-guest pushed a commit to branch master
in repository libbusiness-isbn-perl.

commit b747188f9c08df5d8023905f8f9197286e948a49
Author: Nuno Carvalho <smash at cpan.org>
Date:   Thu Oct 6 17:09:21 2016 +0100

    No longer required to skip tests
---
 debian/changelog |  5 +++--
 debian/rules     | 14 --------------
 2 files changed, 3 insertions(+), 16 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 057bad1..263079b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,6 @@
 libbusiness-isbn-perl (3.003-1) UNRELEASED; urgency=medium
 
   TODO:
-  - debian/tests/pkg-perl/smoke-skip can be removed as the test doesn't exist
-    anymore. - and then the test override in d/rules as well.
 
   * Team upload.
 
@@ -16,6 +14,9 @@ libbusiness-isbn-perl (3.003-1) UNRELEASED; urgency=medium
     + update license to Artistic 2.0.
   * debian/control: drop dependency liburi-perl, no longer required.
   * Add debian/NEWS files.
+  * debian/rules: simplify file, no longer required to skip tests.
+  * debian/tests/pkg-perl/smoke-skip: drop file, no longer required to skip
+    tests.
 
  -- Nuno Carvalho <smash at cpan.org>  Tue, 04 Oct 2016 15:25:16 +0100
 
diff --git a/debian/rules b/debian/rules
index f482230..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,18 +1,4 @@
 #!/usr/bin/make -f
 
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
-# skip tests that need internet access
-SKIP_TESTS = $(shell cat debian/tests/pkg-perl/smoke-skip)
-TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t))
-
 %:
 	dh $@
-
-override_dh_auto_test:
-	dh_auto_test -- TEST_FILES="$(TEST_FILES)"
-
-override_dh_installexamples:
-	dh_installexamples
-	sed -i '1s|^#!perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libbusiness-isbn-perl.git



More information about the Pkg-perl-cvs-commits mailing list