Subject: | t/basic.t failures |
On some of my smoker systems t/basic.t fails. It could look like this:
...
Your perl NV has more precision than PDL_Double. There will be loss of floating point precision!
Global symbol "$_call_if_can" requires explicit package name (did you forget to declare "my $_call_if_can"?) at t/basic.t line 17.
Type of arg 1 to Test2::API::intercept must be block or sub {} (not reference constructor) at t/basic.t line 26, near "};"
Type of arg 1 to Test2::API::intercept must be block or sub {} (not reference constructor) at t/basic.t line 36, near "};"
Type of arg 1 to Test2::API::intercept must be block or sub {} (not reference constructor) at t/basic.t line 46, near "};"
Type of arg 1 to Test2::API::intercept must be block or sub {} (not reference constructor) at t/basic.t line 60, near "};"
Type of arg 1 to Test2::API::intercept must be block or sub {} (not reference constructor) at t/basic.t line 70, near "};"
Type of arg 1 to Test2::API::intercept must be block or sub {} (not reference constructor) at t/basic.t line 83, near "};"
Type of arg 1 to Test2::API::intercept must be block or sub {} (not reference constructor) at t/basic.t line 95, near "};"
Type of arg 1 to Test2::API::intercept must be block or sub {} (not reference constructor) at t/basic.t line 110, near "};"
Type of arg 1 to Test2::API::intercept must be block or sub {} (not reference constructor) at t/basic.t line 121, near "};"
t/basic.t has too many errors.
t/basic.t ..............
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
...
Or like this:
...
"within" is not exported by the Test2::Tools::Compare module
Can't continue after import errors at /tmpfs/.cpan-build-cpansand/2018120501/Test2-Tools-PDL-0.0002-1/blib/lib/Test2/Tools/PDL.pm line 20.
BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2018120501/Test2-Tools-PDL-0.0002-1/blib/lib/Test2/Tools/PDL.pm line 20.
Compilation failed in require at t/basic.t line 12.
BEGIN failed--compilation aborted at t/basic.t line 12.
t/basic.t ..............
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
...