Blob Blame History Raw
diff -up Package-Stash-XS-0.17/t/20-leaks.t.orig Package-Stash-XS-0.17/t/20-leaks.t
--- Package-Stash-XS-0.17/t/20-leaks.t.orig	2010-11-17 12:13:08.000000000 +0000
+++ Package-Stash-XS-0.17/t/20-leaks.t	2010-11-17 12:13:36.937820610 +0000
@@ -4,7 +4,8 @@ use warnings;
 use lib 't/lib';
 use Test::More;
 use Test::Fatal;
-use Test::Requires '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.17/t/21-leaks-debug.t.orig Package-Stash-XS-0.17/t/21-leaks-debug.t
--- Package-Stash-XS-0.17/t/21-leaks-debug.t.orig	2010-11-17 12:13:08.000000000 +0000
+++ Package-Stash-XS-0.17/t/21-leaks-debug.t	2010-11-17 12:13:50.722253597 +0000
@@ -4,7 +4,8 @@ use warnings;
 use lib 't/lib';
 use Test::More;
 use Test::Fatal;
-use Test::Requires 'Test::LeakTrace';
+eval "use Test::LeakTrace";
+plan skip_all => "Test::LeakTrace required for this test" if $@;
 
 BEGIN { $^P |= 0x210 } # PERLDBf_SUBLINE