[libtk-filedialog-perl] 01/09: Add test.patch for basic usage testing
Florian Schlichting
fsfs at moszumanska.debian.org
Fri Oct 21 21:32:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
fsfs pushed a commit to branch master
in repository libtk-filedialog-perl.
commit 88eb3da69f17ee6f97d80295cf47560db7a2b5ed
Author: Florian Schlichting <fsfs at debian.org>
Date: Fri Oct 21 23:04:58 2016 +0200
Add test.patch for basic usage testing
---
debian/control | 2 +-
debian/patches/series | 1 +
debian/patches/test.patch | 12 ++++++++++++
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 3c68c6b..fac2ddd 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper (>= 8)
-Build-Depends-Indep: perl
+Build-Depends-Indep: perl, perl-tk
Standards-Version: 3.9.2
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libtk-filedialog-perl.git
Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libtk-filedialog-perl.git
diff --git a/debian/patches/series b/debian/patches/series
index 58bab2f..e8691f0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
hashbang.patch
fix-own-master-error
fix-pod
+test.patch
diff --git a/debian/patches/test.patch b/debian/patches/test.patch
new file mode 100644
index 0000000..ddc730b
--- /dev/null
+++ b/debian/patches/test.patch
@@ -0,0 +1,12 @@
+Description: Add a basic usage test
+Author: Florian Schlichting <fsfs at debian.org>
+
+--- /dev/null
++++ b/test.pl
+@@ -0,0 +1,6 @@
++use strict;
++use warnings;
++
++use Test::More tests => 1;
++
++use_ok 'Tk::FileDialog';
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtk-filedialog-perl.git
More information about the Pkg-perl-cvs-commits
mailing list