[libaudio-mpd-perl] 01/02: Skip t/23-output.t test

gregor herrmann gregoa at debian.org
Fri Apr 29 13:33:23 UTC 2016


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

gregoa pushed a commit to branch master
in repository libaudio-mpd-perl.

commit 58795656a8c5289eb17fd6ef0477e2475645f3d2
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Apr 29 15:29:39 2016 +0200

    Skip t/23-output.t test
    
    during build and autopkgtests.
    
    The test is timing critical, and expects specific error messages.
---
 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..10cad4f 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..ed13453
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-skip
@@ -0,0 +1,2 @@
+# time-critical. and wants specific error strings.
+t/23-output.t

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libaudio-mpd-perl.git



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