This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix 't/TEST -benchmark'
authorDavid Mitchell <davem@iabyn.com>
Tue, 21 Oct 2014 14:44:44 +0000 (15:44 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sun, 26 Oct 2014 16:53:50 +0000 (16:53 +0000)
This has never worked, as it would look for t/benchmark/*.t files in
the wrong place.

t/TEST

diff --git a/t/TEST b/t/TEST
index 42fccab..9772490 100755 (executable)
--- a/t/TEST
+++ b/t/TEST
@@ -464,7 +464,7 @@ unless (@ARGV) {
     push @ARGV, _tests_from_manifest($extensions, $known_extensions);
     unless ($::core) {
        _find_tests('japh') if $::torture;
-       _find_tests('t/benchmark') if $::benchmark or $ENV{PERL_BENCHMARK};
+       _find_tests('benchmark') if $::benchmark or $ENV{PERL_BENCHMARK};
        _find_tests('bigmem') if $ENV{PERL_TEST_MEMORY};
     }
 }