diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-17 22:07:08 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-17 22:07:08 +0000 |
commit | 80ffb5f93608b52314883335103c8837769171e3 (patch) | |
tree | daff8a40e4a9d5b8347132745006579458a6fb56 /t/harness | |
parent | ae93639c6e66959ff84ce19b7b13b05a1ca356b7 (diff) | |
download | perl-80ffb5f93608b52314883335103c8837769171e3.tar.gz |
Change the scan policy of the *.t and test.pl files,
now the *.t do not need to live in a t/ directory.
p4raw-id: //depot/perl@10671
Diffstat (limited to 't/harness')
-rw-r--r-- | t/harness | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -44,8 +44,8 @@ if (@ARGV) { my $updir = File::Spec->updir; my $mani = File::Spec->catdir(File::Spec->updir, "MANIFEST"); if (open(MANI, $mani)) { - while (<MANI>) { - if (m!^((?:ext|lib)/.+/(?:t/.+\.t)|test.pl)\s!) { + while (<MANI>) { # similar code in t/TEST + if (m!^(ext/.+/([^/]+\.t|test\.pl)|lib/.+(\.t|test\.pl))\s!) { push @tests, File::Spec->catdir($updir, $1); } } |