[SCM] Debian packaging of libdebug-client-perl branch, master, updated. debian/0.25-1-10-g48287e0

gregor herrmann gregoa at debian.org
Fri Jun 7 20:01:47 UTC 2013


The following commit has been merged in the master branch:
commit e5fc4040cec6db230ed4bea6ad5eab7653a9511a
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Jun 7 21:36:35 2013 +0200

    Replace patch to skip tests by using TEST_FILES in debian/rules.

diff --git a/debian/patches/relax-dep-versions b/debian/patches/relax-dep-versions
deleted file mode 100644
index d970166..0000000
--- a/debian/patches/relax-dep-versions
+++ /dev/null
@@ -1,18 +0,0 @@
-Description: Relax dep versions
- Versioned dependenies are needlessly strict for Debian. Upstream
- applied them to solve portability issues on non unix systems.
- This patch just skip the compile tests which check these too 
- strict dependencies.
-Forwarded: NA
-Author: dod
---- a/t/01-compile.t
-+++ b/t/01-compile.t
-@@ -1,7 +1,7 @@
- #!/usr/bin/perl
- 
- use strict;
--use Test::More tests => 17;
-+use Test::More skip_all => 'upstream dependencies are needlessly strict for Debian';
- 
- use_ok('Debug::Client');
- use_ok('t::lib::Debugger');
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index f883c85..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-relax-dep-versions
diff --git a/debian/rules b/debian/rules
index 2d33f6a..b36f272 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,9 @@
 #!/usr/bin/make -f
 
+TEST_FILES = $(filter-out t/01-compile.t,$(shell echo t/*.t))
+
 %:
 	dh $@
+
+override_dh_auto_test:
+	dh_auto_test -- TEST_FILES="$(TEST_FILES)"

-- 
Debian packaging of libdebug-client-perl



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