This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
bench.pl: add checks for bad benchmark files
authorDavid Mitchell <davem@iabyn.com>
Sat, 21 Oct 2017 14:53:05 +0000 (15:53 +0100)
committerDavid Mitchell <davem@iabyn.com>
Mon, 23 Oct 2017 10:52:02 +0000 (11:52 +0100)
commit1836b255cca8d49a9dc4d41951aadc0ba8f715f3
tree0a6a54c541b6ec4d90f211e0536f533b4db70182
parent8924d3981a915e9170e1e99e3370f2a47d9a371a
bench.pl: add checks for bad benchmark files

When reading in a --benchmark file, do some basic sanity checks on the
values read in:
    * an even number of name => {} pairs
    * a valid test name
    * valid hash keys
MANIFEST
Porting/bench.pl
t/porting/bench.t
t/porting/bench/badhash [new file with mode: 0644]
t/porting/bench/badname [new file with mode: 0644]
t/porting/bench/oddentry [new file with mode: 0644]