summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdebian/rules6
-rw-r--r--debian/tests/pkg-perl/smoke-skip2
2 files changed, 8 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 7810336..e4a9f25 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,9 +3,15 @@
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
+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)"
+
override_dh_auto_install:
dh_auto_install
# boilerplate manpages
diff --git a/debian/tests/pkg-perl/smoke-skip b/debian/tests/pkg-perl/smoke-skip
new file mode 100644
index 0000000..e929607
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-skip
@@ -0,0 +1,2 @@
+# flaky, cf. #987844
+t/90close-leak.t