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

gregoa pushed a commit to branch master
in repository libjson-validator-perl.

commit 4dd0101328e0dee32d29876d5ded46d0ecb7fabb
Author: gregor herrmann <gre...@debian.org>
Date:   Tue Jun 28 18:36:54 2016 +0200

    Skip a test during build and autopkgtest.
---
 debian/rules                     | 6 ++++++
 debian/tests/pkg-perl/smoke-skip | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..e7fbe59 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..fbb76e1
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-skip
@@ -0,0 +1,2 @@
+# needs cache or internet
+t/load-json.t

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