[libdevel-gdb-perl] 02/05: Skip test t/expect.t during build and autopkgtest.

gregor herrmann gregoa at debian.org
Sat Oct 1 18:09:56 UTC 2016


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

gregoa pushed a commit to branch master
in repository libdevel-gdb-perl.

commit f7f2c98f4690cd5d4ad455838a45484c3e5134b5
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Oct 1 19:59:17 2016 +0200

    Skip test t/expect.t during build and autopkgtest.
    
    The test causes occasional, probably timing-related, failures.
    
    Closes: #784845
---
 debian/rules                     | 6 ++++++
 debian/tests/pkg-perl/smoke-skip | 1 +
 2 files changed, 7 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..55f2674
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-skip
@@ -0,0 +1 @@
+t/expect.t

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



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