This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Benchmark.t: better diagnostics
authorDavid Mitchell <davem@iabyn.com>
Sat, 28 Nov 2015 16:44:12 +0000 (16:44 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sat, 28 Nov 2015 16:47:17 +0000 (16:47 +0000)
commit534c402b078fa982333009833073f52917b61b71
treed9013551e5ea3720d389e1af7f2ff3c87c892ac0
parent8dddc15610773a292e6fe8f989e51dd8c27ac1de
Benchmark.t: better diagnostics

use cmp_ok() instesd of ok() where apppriate and similar things to
get better diagnostucs when things fail (e.g. display what the bad value
was, rather than just letting you know it was bad).

Also, use diag() rather than 'print STDERR "# .....\n";'
lib/Benchmark.t