[libdevel-nytprof-perl] 01/02: Mark failing test as TODO for the time being.

gregor herrmann gregoa at debian.org
Thu Jul 24 20:08:56 UTC 2014


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

gregoa pushed a commit to branch master
in repository libdevel-nytprof-perl.

commit d4d549dc46e65fa2ae92ef7b4b4d3203269c1578
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Jul 24 22:01:23 2014 +0200

    Mark failing test as TODO for the time being.
    
    Cf. the discussion in the upstream bug at
    https://github.com/timbunce/devel-nytprof/issues/34 .
    
    Closes: #755332
---
 debian/patches/series         |  1 +
 debian/patches/sub-name.patch | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index c5fa0bb..a342111 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 manpage-section.patch
 usr-share.patch
 flamegraph.patch
+sub-name.patch
diff --git a/debian/patches/sub-name.patch b/debian/patches/sub-name.patch
new file mode 100644
index 0000000..cd45b70
--- /dev/null
+++ b/debian/patches/sub-name.patch
@@ -0,0 +1,26 @@
+Description: mark tests as TODO until Sub::Name is fixed
+Origin: vendor
+Bug: https://github.com/timbunce/devel-nytprof/issues/34
+Bug-Debian: https://bugs.debian.org/755332
+Forwarded: not-needed, the idea is from there
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2014-07-24
+
+--- a/t/70-subname.t
++++ b/t/70-subname.t
+@@ -39,10 +39,11 @@
+         is $sub->subname, 'main::named';
+ 
+         SKIP: {
+-            skip "Sub::Name 0.06 required for subname line numbers", 2
+-                if $Sub::Name::VERSION <= 0.06;
+-            is $sub->first_line, 3;
+-            is $sub->last_line,  3;
++            {
++                local $TODO = "Sub::Name problems, cf. CPAN RT #50524";
++                is $sub->first_line, 3;
++                is $sub->last_line,  3;
++            }
+         }
+     },
+ });

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



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