diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-08-26 07:26:33 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-08-26 15:46:33 -0400 |
commit | cfa562529cf247facc919c1e0d7ae057a190de6c (patch) | |
tree | a03e0943db0cd58fe634973d5b84f03bc9bdbfb3 /t/harness | |
parent | 272ce8bbdf90cc9c24e7425001986a6b681c6015 (diff) | |
download | perl-cfa562529cf247facc919c1e0d7ae057a190de6c.tar.gz |
Allow eg ./perl t/harness t/op/lc.t
Diffstat (limited to 't/harness')
-rw-r--r-- | t/harness | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -206,6 +206,14 @@ if ($^O eq 'MSWin32') { @tests=grep /$re/, @tests if $re; +# Allow eg ./perl t/harness t/op/lc.t +for (@tests) { + if (-f "../$_") { + $_ = "../$_"; + s{^\.\./t/}{}; + } +} + my %options; my $type = 'perl'; |