[libcgi-application-plugin-authentication-perl] 01/07: Don't fail on test t/03_login_box.t.

gregor herrmann gregoa at debian.org
Wed Jul 9 16:58:17 UTC 2014


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

gregoa pushed a commit to branch master
in repository libcgi-application-plugin-authentication-perl.

commit 13638dc19c7bf35fccef5d2188a8d97050586087
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Jul 9 18:29:31 2014 +0200

    Don't fail on test t/03_login_box.t.
    
    Fails due to hash randomization since perl 5.17.x, which leads to an
    undeterministic order of parameters in the tested URLs. Besides that the
    tests pass, and there is no good way to handle the comparison of generated
    HTML.
    
    Run the test anyway for manual inspection but ignore its failure.
    
    Closes: #711428
---
 debian/rules | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/debian/rules b/debian/rules
index 8bbf8fa..64feec4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,12 @@
 #!/usr/bin/make -f
 
+TEST_FILES=$(filter-out t/03_login_box.t,$(shell echo t/*.t))
+
 %:
 	dh $@ --with components
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	-prove --blib --verbose t/03_login_box.t
+endif
+	dh_auto_test -- --test_files="$(TEST_FILES)"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcgi-application-plugin-authentication-perl.git



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