diff options
author | Jerry D. Hedden <jdhedden@cpan.org> | 2010-11-02 10:47:28 -0400 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-11-08 09:36:39 -0800 |
commit | b12cb1baf08ee7095343ddc47a73b0939f1e3710 (patch) | |
tree | 094df6704d0badea01b235b27171713cb7242aab /t/TEST | |
parent | 3b7535215021402ddc215d2cc374a23a8b33d86d (diff) | |
download | perl-b12cb1baf08ee7095343ddc47a73b0939f1e3710.tar.gz |
Excluding tests in sub-dirs
For modules that are not built, exclude tests in sub-directories under
/t. For example: cpan/Module-Build/t/actions/installdeps.t
Diffstat (limited to 't/TEST')
-rwxr-xr-x | t/TEST | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -394,7 +394,7 @@ sub _tests_from_manifest { my $extension = $2; if (!$::core || $t =~ m!^lib/[a-z]!) { if (defined $extension) { - $extension =~ s!/t$!!; + $extension =~ s!/t(:?/\S+)*$!!; # XXX Do I want to warn that I'm skipping these? next if $skip{$extension}; my $flat_extension = $extension; |