diff options
author | David Mitchell <davem@iabyn.com> | 2017-06-17 20:01:33 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2017-06-21 10:56:23 +0100 |
commit | 244df32162c71723b702c3d35d292763debf9332 (patch) | |
tree | 0b224c74187e1c3ddf7ab00ecbb7a615ea0148e0 /Porting | |
parent | 7131ebd1541c66f507611fce2772364d0f79b0fb (diff) | |
download | perl-244df32162c71723b702c3d35d292763debf9332.tar.gz |
Porting/bench.pl: only use used sort elems
The @$order list of test names in sorted order: pare it down to only the
tests actually being run. This will make --write files smaller.
Diffstat (limited to 'Porting')
-rwxr-xr-x | Porting/bench.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Porting/bench.pl b/Porting/bench.pl index f19293a68f..8039fffa9d 100755 --- a/Porting/bench.pl +++ b/Porting/bench.pl @@ -806,6 +806,9 @@ sub do_grind { push @$perls, @run_perls; } + # strip @$order to just the actual tests present + $order = [ grep exists $tests->{$_}, @$order ]; + # Now we know what perls and tests we have, do extra option processing # and checking (done before grinding, so time isn't wasted if we die). |