diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-08-26 20:55:36 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-08-26 20:55:36 +0100 |
commit | e772598991ca5994af17ccfc75b507c64089f992 (patch) | |
tree | 51796aa30943d81498d6cf8fda8ac73978c2231e /t/harness | |
parent | a3323f52209391b4b2c45b3e1feb26c6f51fb6fa (diff) | |
download | perl-e772598991ca5994af17ccfc75b507c64089f992.tar.gz |
No need to use File::Spec, as all names remain internal to perl.
(This will make merging the code in t/TEST and t/harness easier.)
Diffstat (limited to 't/harness')
-rw-r--r-- | t/harness | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -114,9 +114,7 @@ sub _tests_from_manifest { } my @results; - use File::Spec; - my $updir = File::Spec->updir; - my $mani = File::Spec->catfile(File::Spec->updir, "MANIFEST"); + my $mani = '../MANIFEST'; if (open(MANI, $mani)) { while (<MANI>) { # similar code in t/TEST if (m!^(ext/(\S+)/+(?:[^/\s]+\.t|test\.pl)|lib/\S+?(?:\.t|test\.pl))\s!) { @@ -129,7 +127,7 @@ sub _tests_from_manifest { $flat_extension =~ s!-!/!g; next if $skip{$flat_extension}; # Foo/Bar may live in Foo-Bar } - push @results, File::Spec->catfile($updir, $test); + push @results, "../$test"; } } close MANI; |