]> git.imager.perl.org - imager.git/commitdiff
test that Parse::RecDescent is loadable to avoid problems like
authorTony Cook <tony@develop=help.com>
Mon, 10 Dec 2007 04:27:20 +0000 (04:27 +0000)
committerTony Cook <tony@develop=help.com>
Mon, 10 Dec 2007 04:27:20 +0000 (04:27 +0000)
https://rt.cpan.org/Ticket/Display.html?id=31320

t/t82inline.t

index d0fc5bb3324f8645b8657a3c4c0082a50009e1fc..da61334c70110dac299b3985ea61bfc7cb438100 100644 (file)
@@ -6,6 +6,9 @@ use Test::More;
 eval "require Inline::C;";
 plan skip_all => "Inline required for testing API" if $@;
 
+eval "require Parse::RecDescent;";
+plan skip_all => "Could not load Parse::RecDescent" if $@;
+
 use Cwd 'getcwd';
 plan skip_all => "Inline won't work in directories with spaces"
   if getcwd() =~ / /;