summaryrefslogtreecommitdiff
path: root/t/TEST
diff options
context:
space:
mode:
authorJerry D. Hedden <jdhedden@cpan.org>2010-11-02 10:47:28 -0400
committerFather Chrysostomos <sprout@cpan.org>2010-11-08 09:36:39 -0800
commitb12cb1baf08ee7095343ddc47a73b0939f1e3710 (patch)
tree094df6704d0badea01b235b27171713cb7242aab /t/TEST
parent3b7535215021402ddc215d2cc374a23a8b33d86d (diff)
downloadperl-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-xt/TEST2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/TEST b/t/TEST
index d659828494..9ae25d3b11 100755
--- a/t/TEST
+++ b/t/TEST
@@ -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;