Re: [Module-build-general] ExtUtils::ParseXS & 5.00503
Status: Beta
Brought to you by:
kwilliams
|
From: Dave R. <au...@ur...> - 2003-03-30 06:04:20
|
On Sat, 29 Mar 2003, Ken Williams wrote:
> That test should pass (not be skipped) even if EU::ParseXS isn't
> around. You're seeing it fail? This is t/xs.t in Module::Build, right?
I was a little confused. If EU::ParseXS _is_ installed and you try to
load it with Perl 5.00503, it does actually load (I thought it was
dying), but it doesn't work right. So here's a test patch that skips
the tests unconditionally if you're using a Perl before 5.6.0.
Index: xs.t
===================================================================
RCS file: /cvsroot/module-build/Module-Build/t/xs.t,v
retrieving revision 1.5
diff -u -r1.5 xs.t
--- xs.t 24 Feb 2003 18:23:20 -0000 1.5
+++ xs.t 30 Mar 2003 06:02:16 -0000
@@ -3,6 +3,8 @@
use strict;
use Test;
+print("1..0 # Skipped: cannot use ExtUtils::ParseXS with Perl $]\n"), exit(0)
+ if $] < 5.006;
print("1..0 # Skipped: no compiler found\n"), exit(0) unless have_compiler();
plan tests => 7;
|