On 2017-04-24 13:06:22, SREZIC wrote:
Show quoted text> On my Debian/stretch smoker I see the following failure:
>
> ...
> # Failed test at t/02bad_deriv.t line 50.
> # Looks like you failed 1 test of 13.
> t/02bad_deriv.t ..
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/13 subtests
> ...
>
> Tests pass on older Debian systems (jessie, wheezy).
If the failing test is rewritten to use cmp_ok instead of ok:
diff --git a/t/02bad_deriv.t b/t/02bad_deriv.t
index dfa613e..b5ec5ed 100644
--- a/t/02bad_deriv.t
+++ b/t/02bad_deriv.t
@@ -47,7 +47,7 @@ my @eps = (1.00, 0.10, 1.000, 0.100);
foreach my $par (0..$#parameters) {
my $v = $parameters[$par][1];
ok(defined $v);
- ok($v + $eps[$par] > $val[$par]);
- ok($v - $eps[$par] < $val[$par]);
+ cmp_ok($v + $eps[$par], ">", $val[$par]);
+ cmp_ok($v - $eps[$par], "<", $val[$par]);
}
then the test suite fails with a little more diagnostics:
t/02bad_deriv.t .. 1/13
# Failed test at t/02bad_deriv.t line 50.
# '5'
# >
# '5.15'
# Looks like you failed 1 test of 13.
t/02bad_deriv.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/13 subtests