[libamazon-sqs-simple-perl] 06/07: Skip new development tests during build and autopkgtest.

gregor herrmann gregoa at debian.org
Mon Nov 30 17:56:14 UTC 2015


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

gregoa pushed a commit to branch master
in repository libamazon-sqs-simple-perl.

commit 9385de21ee02dca85c4ef33450f2b0365e15c0e1
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Nov 30 18:53:28 2015 +0100

    Skip new development tests during build and autopkgtest.
---
 debian/rules                     | 6 ++++++
 debian/tests/pkg-perl/smoke-skip | 7 +++++++
 2 files changed, 13 insertions(+)

diff --git a/debian/rules b/debian/rules
index 6a318fc..9fb911d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+SKIP_TESTS=$(shell cat debian/tests/pkg-perl/smoke-skip)
+TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t))
+
 %:
 	dh $@
 
@@ -8,3 +11,6 @@ override_dh_auto_clean:
 	# helpful for us
 	[ ! -f Makefile ] || perl Makefile.PL
 	dh_auto_clean
+
+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..0b9e941
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-skip
@@ -0,0 +1,7 @@
+t/dev-boilerplate.t
+t/dev-functions.t
+t/dev-methods-batch.t
+t/dev-methods-regression-2008-01-01.t
+t/dev-methods.t
+t/dev-pod-coverage.t
+t/dev-pod.t

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libamazon-sqs-simple-perl.git



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