perl-Package-Stash/Package-Stash-0.25-no-Test::LeakTrace.patch
Paul Howarth c9d7f7c164 Update to 0.25
- New upstream release 0.25
  - Make the leak tests author-only, since some smokers run release tests
- Update patches to apply cleanly
- Bump perl(Package::Stash::XS) version requirement to 0.21
- Drop buildreq perl(Test::Exception), no longer needed
2011-01-25 19:10:58 +00:00

27 lines
984 B
Diff

diff -up Package-Stash-0.23/t/author-20-leaks.t.orig Package-Stash-0.23/t/author-20-leaks.t
--- Package-Stash-0.23/t/author-20-leaks.t.orig 2011-01-12 09:57:19.000000000 +0000
+++ Package-Stash-0.23/t/author-20-leaks.t 2011-01-12 09:58:40.139310210 +0000
@@ -12,7 +12,8 @@ use warnings;
use lib 't/lib';
use Test::More;
use Test::Fatal;
-use Test::LeakTrace;
+eval "use Test::LeakTrace";
+plan skip_all => "Test::LeakTrace required for this test" if $@;
plan tests => 25;
diff -up Package-Stash-0.23/t/author-21-leaks-debug.t.orig Package-Stash-0.23/t/author-21-leaks-debug.t
--- Package-Stash-0.23/t/author-21-leaks-debug.t.orig 2011-01-12 09:57:19.000000000 +0000
+++ Package-Stash-0.23/t/author-21-leaks-debug.t 2011-01-12 09:58:51.082622361 +0000
@@ -12,7 +12,8 @@ use warnings;
use lib 't/lib';
use Test::More;
use Test::Fatal;
-use Test::LeakTrace;
+eval "use Test::LeakTrace";
+plan skip_all => "Test::LeakTrace required for this test" if $@;
plan tests => 25;