I'm working on adding EU::CBuilder and EU::ParseXS to the core, which
involves adding a file:

lib/ExtUtils/ParseXS/t/XSTest.pm        Test file for ExtUtils::ParseXS tests

Unfortunately, makemaker's 00compile.t blithely tests all *.pm files in
the ExtUtils hierarchy, and XSTest doesn't pass (since it's corresponding
XSTest.xs is only built during the ParseXS test).

A patch to skip files in t subdirs:

--- perl/lib/ExtUtils/t/00compile.t     2003-06-07 06:28:47.000000000 +0000
+++ perlpatch/lib/ExtUtils/t/00compile.t        2005-04-08 00:16:05.546971200 
+0000
@@ -23,7 +23,7 @@ chdir File::Spec->updir;
 my $manifest = File::Spec->catfile('MANIFEST');
 open(MANIFEST, $manifest) or die "Can't open $manifest: $!";
 my @modules = map { m{^lib/(\S+)}; $1 }
-              grep { m{^lib/ExtUtils/\S*\.pm}  } <MANIFEST>;
+              grep { m{^lib/ExtUtils/\S*\.pm} && !m{/t/} } <MANIFEST>;
 chomp @modules;
 close MANIFEST;


Reply via email to