[libwww-mechanize-perl] 03/04: autopkgtest: enable more smoke tests.
gregor herrmann
gregoa at debian.org
Tue Aug 9 18:04:53 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libwww-mechanize-perl.
commit 537b3fe85016a951f1626476f2c098c78feecb2a
Author: gregor herrmann <gregoa at debian.org>
Date: Tue Aug 9 20:02:40 2016 +0200
autopkgtest: enable more smoke tests.
---
debian/patches/autopkgtest.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
debian/tests/pkg-perl/smoke-tests | 2 ++
3 files changed, 19 insertions(+)
diff --git a/debian/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch
new file mode 100644
index 0000000..ee646f4
--- /dev/null
+++ b/debian/patches/autopkgtest.patch
@@ -0,0 +1,16 @@
+Description: update path to mech-dump script during autopkgtest
+Origin: vendor
+Forwarded: not needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2016-08-09
+
+--- a/t/mech-dump/mech-dump.t
++++ b/t/mech-dump/mech-dump.t
+@@ -18,6 +18,7 @@
+ if ( $^O eq 'VMS' ) {
+ $exe = qq[mcr $^X "-mblib" $exe];
+ }
++$exe = '/usr/bin/mech-dump' if $ENV{ADTTMP};
+
+ # Simply use a file: uri instead of the filename to make this test
+ # more independent of what URI::* thinks.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..aba7ccb
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+autopkgtest.patch
diff --git a/debian/tests/pkg-perl/smoke-tests b/debian/tests/pkg-perl/smoke-tests
new file mode 100644
index 0000000..4d839e5
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-tests
@@ -0,0 +1,2 @@
+t/*.t
+t/*/*.t
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libwww-mechanize-perl.git
More information about the Pkg-perl-cvs-commits
mailing list