Blob Blame History Raw
diff -up Package-Stash-XS-0.24/t/author-leaks-debug.t.orig Package-Stash-XS-0.24/t/author-leaks-debug.t
--- Package-Stash-XS-0.24/t/author-leaks-debug.t.orig	2011-09-06 09:37:11.754912596 +0100
+++ Package-Stash-XS-0.24/t/author-leaks-debug.t	2011-09-06 09:37:11.762912576 +0100
@@ -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 $@;
 
 BEGIN { $^P |= 0x210 } # PERLDBf_SUBLINE
 
diff -up Package-Stash-XS-0.24/t/author-leaks.t.orig Package-Stash-XS-0.24/t/author-leaks.t
--- Package-Stash-XS-0.24/t/author-leaks.t.orig	2011-09-06 09:37:11.754912596 +0100
+++ Package-Stash-XS-0.24/t/author-leaks.t	2011-09-06 09:37:11.762912576 +0100
@@ -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 $@;
 
 use Package::Stash;
 use Symbol;