[libcatalyst-controller-html-formfu-perl] 01/02: Skip test t/aggregate.t.

gregor herrmann gregoa at debian.org
Fri Jul 22 15:20:56 UTC 2016


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

gregoa pushed a commit to branch master
in repository libcatalyst-controller-html-formfu-perl.

commit 2b34a08e22814c021055b74bc747de9429844e7d
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Jul 22 17:14:55 2016 +0200

    Skip test t/aggregate.t.
    
    This test 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                      | 6 ++++++
 debian/tests/pkg-perl/smoke-files | 3 ---
 debian/tests/pkg-perl/smoke-skip  | 1 +
 4 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index af50c97..f94ee44 100644
--- a/debian/control
+++ b/debian/control
@@ -19,7 +19,6 @@ Build-Depends-Indep: libcatalyst-perl,
                      libregexp-assemble-perl,
                      libtask-weaken-perl,
                      libtemplate-perl,
-                     libtest-aggregate-perl (>= 0.371),
                      libtest-www-mechanize-catalyst-perl,
                      libtest-www-mechanize-perl,
                      perl
diff --git a/debian/rules b/debian/rules
index 2d33f6a..d2b8f41 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,10 @@
 #!/usr/bin/make -f
 
+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)"
diff --git a/debian/tests/pkg-perl/smoke-files b/debian/tests/pkg-perl/smoke-files
deleted file mode 100644
index 78f9216..0000000
--- a/debian/tests/pkg-perl/smoke-files
+++ /dev/null
@@ -1,3 +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/libcatalyst-controller-html-formfu-perl.git



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