[libscalar-listify-perl] 01/03: Patch the upstream test suite to remove useless warnings

Niko Tyni ntyni at moszumanska.debian.org
Mon Apr 27 20:34:11 UTC 2015


This is an automated email from the git hooks/post-receive script.

ntyni pushed a commit to branch master
in repository libscalar-listify-perl.

commit dec645da29f5e2371faa63b77881099210edfd5f
Author: Niko Tyni <ntyni at debian.org>
Date:   Mon Apr 27 23:30:52 2015 +0300

    Patch the upstream test suite to remove useless warnings
    
    These cause problems for us with autopkgtest setups.
---
 debian/patches/series        |  1 +
 debian/patches/test-warnings | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..02ff6db
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+test-warnings
diff --git a/debian/patches/test-warnings b/debian/patches/test-warnings
new file mode 100644
index 0000000..217da48
--- /dev/null
+++ b/debian/patches/test-warnings
@@ -0,0 +1,16 @@
+Remove useless warnings from the test suite
+
+Nobody looks at these anyway.
+--- libscalar-listify-perl.orig/test.pl
++++ libscalar-listify-perl/test.pl
+@@ -18,10 +18,3 @@
+ # (correspondingly "not ok 13") depending on the success of chunk 13
+ # of the test code):
+ 
+-my $scalar = 'ho there';
+-my $aref   = [qw(a ref array ref got to go)];
+-
+-use Data::Dumper;
+-
+-warn Dumper(listify_aref($scalar));
+-warn Dumper(listify_aref($aref));

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libscalar-listify-perl.git



More information about the Pkg-perl-cvs-commits mailing list