[libfile-find-rule-perl-perl] 10/12: Add ignore-autopkgtest-dummy.patch
Florian Schlichting
fsfs at moszumanska.debian.org
Tue Nov 24 22:57:00 UTC 2015
This is an automated email from the git hooks/post-receive script.
fsfs pushed a commit to branch master
in repository libfile-find-rule-perl-perl.
commit 1d6ba6b93083d84dc51d365da440fb767696150e
Author: Florian Schlichting <fsfs at debian.org>
Date: Tue Nov 24 23:40:14 2015 +0100
Add ignore-autopkgtest-dummy.patch
---
debian/patches/ignore-autopkgtest-dummy.patch | 24 ++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 25 insertions(+)
diff --git a/debian/patches/ignore-autopkgtest-dummy.patch b/debian/patches/ignore-autopkgtest-dummy.patch
new file mode 100644
index 0000000..33cbf2c
--- /dev/null
+++ b/debian/patches/ignore-autopkgtest-dummy.patch
@@ -0,0 +1,24 @@
+Description: do not compare filenames not present under autopkgtest
+Author: Florian Schlichting <fsfs at debian.org>
+Forwarded: not-needed
+
+--- a/t/03_no_index.t
++++ b/t/03_no_index.t
+@@ -51,6 +51,9 @@
+ ! $ignore{$_}
+ } $rule->in( curdir() );
+
++ SKIP: {
++ skip 'running under autopkgtest', 1 if -e 'lib/Debian/pkgperl/Foobar.pm';
++
+ is_deeply( \@files, [ qw{
+ Changes
+ META.json
+@@ -58,6 +61,7 @@
+ Makefile.PL
+ lib/File/Find/Rule/Perl.pm
+ } ], 'Found the expected files' );
++ }
+ }
+ }
+
diff --git a/debian/patches/series b/debian/patches/series
index 85adf3d..929c79e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
ignore-quilt.patch
+ignore-autopkgtest-dummy.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libfile-find-rule-perl-perl.git
More information about the Pkg-perl-cvs-commits
mailing list