On Tue Jun 03 08:34:37 2008,
http://cmbuckley.co.uk/ wrote:
Show quoted text> DBD::mysql 4.007 has had its test suit re-written to use Test::More,
but
Show quoted text> it is not marked as a dependency.
Thanks for DBD::mysql. Just wanted to mention that
BAIL_OUT as used in t/00base.t in versions 4.007 and 4.008
was only added to Test::More in Test-Simple 0.61 so if you
have an older version than this, for example Test::More 0.47
you will get failures that look like the below:
Cheers,
Peter (Stig) Edwards
String found where operator expected at t/00base.t line 20,
near "BAIL_OUT "Unable to load DBI""
(Do you need to predeclare BAIL_OUT?)
String found where operator expected at t/00base.t line 21,
near "BAIL_OUT "Unable to load DBD::mysql""
(Do you need to predeclare BAIL_OUT?)
syntax error at t/00base.t line 20, near "BAIL_OUT "Unable to load DBI""
syntax error at t/00base.t line 21, near "BAIL_OUT "Unable to load
DBD::mysql""
BEGIN not safe after errors--compilation aborted at t/00base.t line 22.
# Looks like your test died before it could output anything.
t/00base....................dubious
Test returned status 2 (wstat 512, 0x200)
Scalar found where operator expected at (eval 152) line 1, near "'int'
$__val"
(Missing operator before $__val?)
DIED. FAILED tests 1-6
Failed 6/6 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
---------------------------------------------------------
t/00base.t 2 512 6 6 100.00% 1-6