Blob Blame History Raw
diff -up Package-Stash-XS-0.20/t/author-20-leaks.t.orig Package-Stash-XS-0.20/t/author-20-leaks.t
--- Package-Stash-XS-0.20/t/author-20-leaks.t.orig	2011-01-12 09:17:41.622919245 +0000
+++ Package-Stash-XS-0.20/t/author-20-leaks.t	2011-01-12 09:19:44.023423136 +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 $@;
 
 use Package::Stash;
 use Symbol;
diff -up Package-Stash-XS-0.20/t/author-21-leaks-debug.t.orig Package-Stash-XS-0.20/t/author-21-leaks-debug.t
--- Package-Stash-XS-0.20/t/author-21-leaks-debug.t.orig	2011-01-12 09:17:41.623919274 +0000
+++ Package-Stash-XS-0.20/t/author-21-leaks-debug.t	2011-01-12 09:20:02.733958255 +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 $@;
 
 BEGIN { $^P |= 0x210 } # PERLDBf_SUBLINE