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

gregoa pushed a commit to branch master
in repository libmetacpan-client-perl.

commit 5b2bef05e63d7808218157e25995f8b28c3cb186
Author: gregor herrmann <gre...@debian.org>
Date:   Sat Dec 17 03:57:09 2016 +0100

    update tests
    
    - skip api tests (internet access)
    - whitelist JSON::PP::Boolean warnings
---
 debian/rules                        | 6 ++++++
 debian/tests/pkg-perl/smoke-skip    | 1 +
 debian/tests/pkg-perl/smoke-tests   | 2 ++
 debian/tests/pkg-perl/use-whitelist | 1 +
 4 files changed, 10 insertions(+)

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-skip b/debian/tests/pkg-perl/smoke-skip
new file mode 100644
index 0000000..9a7a905
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-skip
@@ -0,0 +1 @@
+t/api/*.t
diff --git a/debian/tests/pkg-perl/smoke-tests 
b/debian/tests/pkg-perl/smoke-tests
new file mode 100644
index 0000000..4d839e5
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-tests
@@ -0,0 +1,2 @@
+t/*.t
+t/*/*.t
diff --git a/debian/tests/pkg-perl/use-whitelist 
b/debian/tests/pkg-perl/use-whitelist
new file mode 100644
index 0000000..e9a9f72
--- /dev/null
+++ b/debian/tests/pkg-perl/use-whitelist
@@ -0,0 +1 @@
+Subroutine JSON::PP::Boolean::\(.. redefined

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libmetacpan-client-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