[libclipboard-perl] 03/07: autopkgtest
gregor herrmann
gregoa at debian.org
Sat Aug 13 01:31:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libclipboard-perl.
commit 0d1ad466d87c2cdf374f07339c18d2f32710dc0e
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Aug 13 02:42:46 2016 +0200
autopkgtest
---
debian/rules | 12 ++++++++++++
debian/tests/pkg-perl/SKIP | 2 ++
debian/tests/pkg-perl/smoke-files | 2 ++
3 files changed, 16 insertions(+)
diff --git a/debian/rules b/debian/rules
index 2d33f6a..2ba055f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,16 @@
#!/usr/bin/make -f
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
%:
dh $@
+
+override_dh_auto_test:
+ xvfb-run -a dh_auto_test
+
+override_dh_auto_install:
+ dh_auto_install
+ # not needed, and don't work due to missing prerequisites
+ $(RM) -v $(TMP)/usr/share/perl5/Clipboard/MacPasteboard.pm
+ $(RM) -v $(TMP)/usr/share/perl5/Clipboard/Win32.pm
diff --git a/debian/tests/pkg-perl/SKIP b/debian/tests/pkg-perl/SKIP
new file mode 100644
index 0000000..28e2db6
--- /dev/null
+++ b/debian/tests/pkg-perl/SKIP
@@ -0,0 +1,2 @@
+# needs X due to the xclip test …
+use.t
diff --git a/debian/tests/pkg-perl/smoke-files b/debian/tests/pkg-perl/smoke-files
new file mode 100644
index 0000000..2b85b82
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-files
@@ -0,0 +1,2 @@
+t/
+Test/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libclipboard-perl.git
More information about the Pkg-perl-cvs-commits
mailing list