Subject: | Tests fail (if Method::Traits >= 0.06 is installed?) |
My smoker show the following test failures:
...
Invalid CODE attribute: private at t/000-samples/001-point.t line 21.
BEGIN failed--compilation aborted at t/000-samples/001-point.t line 21.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 1.
t/000-samples/001-point.t ..............................................
Dubious, test returned 2 (wstat 512, 0x200)
All 1 subtests passed
Invalid CODE attribute: private at t/000-samples/002-bank-account.t line 21.
BEGIN failed--compilation aborted at t/000-samples/002-bank-account.t line 21.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 1.
t/000-samples/002-bank-account.t .......................................
Dubious, test returned 2 (wstat 512, 0x200)
All 1 subtests passed
... (etc) ...
Statistical analysis suggests that the problem happens with newer Method::Traits versions:
****************************************************************
Regression 'mod:Method::Traits'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.0000 33248190513999688.00
[1='eq_0.06'] -1.0000 0.0000 -15175653283955762.00
[2='eq_0.07'] -1.0000 0.0000 -29142805844600524.00
R^2= 1.000, N= 87, K= 3
****************************************************************
(Actually