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

gregoa pushed a commit to branch master
in repository libhtml-formfu-perl.

commit e7a67b1cae06fcf6dff2c9c04194d1b3d271bf00
Author: gregor herrmann <gre...@debian.org>
Date:   Fri Jul 22 16:53:29 2016 +0200

    Skip test t/aggregate.t.
    
    This test sometimes has problems, cf.
    https://rt.cpan.org/Public/Bug/Display.html?id=109159 and
    http://www.cpantesters.org/cpan/report/a0cdda00-3d3c-11e6-b90c-6f485af59b17
    but more importantly, it needs Test::Aggregate which up to 0.373 is not
    compatible with the new Test-Simple (>= 1.3).
    
    Skipping the test allows us to drop the build dependency on
    libtest-aggregate-perl.
    
    This commit can be reverted once a newer Test::Aggregate is released.
---
 debian/control                    | 1 -
 debian/rules                      | 5 ++++-
 debian/tests/pkg-perl/smoke-files | 2 --
 debian/tests/pkg-perl/smoke-skip  | 1 +
 4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index d779b1f..92f0344 100644
--- a/debian/control
+++ b/debian/control
@@ -36,7 +36,6 @@ Build-Depends-Indep: perl,
                      libreadonly-perl,
                      libregexp-common-perl,
                      libtask-weaken-perl,
-                     libtest-aggregate-perl (>= 0.371),
                      libtest-exception-perl,
                      libwww-perl,
                      libyaml-libyaml-perl
diff --git a/debian/rules b/debian/rules
index 1887fc8..1c4b33c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,11 +3,14 @@
 export LC_ALL=C
 MANDIR=$(CURDIR)/debian/libhtml-formfu-perl/usr/share/man/man3
 
+SKIP_TESTS = $(shell cat debian/tests/pkg-perl/smoke-skip)
+TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t))
+
 %:
        dh $@
 
 override_dh_auto_test:
-       NO_NETWORK=1 dh_auto_test
+       NO_NETWORK=1 dh_auto_test -- TEST_FILES="$(TEST_FILES)"
 
 override_dh_auto_install:
        dh_auto_install
diff --git a/debian/tests/pkg-perl/smoke-files 
b/debian/tests/pkg-perl/smoke-files
deleted file mode 100644
index 50f6dec..0000000
--- a/debian/tests/pkg-perl/smoke-files
+++ /dev/null
@@ -1,2 +0,0 @@
-t/
-t-aggregate/
diff --git a/debian/tests/pkg-perl/smoke-skip b/debian/tests/pkg-perl/smoke-skip
new file mode 100644
index 0000000..2ad8284
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-skip
@@ -0,0 +1 @@
+t/aggregate.t

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

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to