[Bioperl-l] BP reports "All tests successful.", but some failed ...

Dan Bolser dan.bolser at gmail.com
Tue Nov 9 05:41:53 EST 2010


I see the following error in the output of ./Build test:

...
t/LocalDB/SeqFeature_BDB.t ................... ok
t/LocalDB/SeqFeature_mysql.t ................. 1/84 DBI
connect('database=test','',...) failed: Can't connect to local MySQL
server through socket '/var/lib/mysql/mysql.sock' (2) at
Bio/DB/SeqFeature/Store/DBI/mysql.pm line 217
sh: -user: command not found
t/LocalDB/SeqFeature_mysql.t ................. ok
...


Related to a bug I filed a while back:
http://bugzilla.open-bio.org/show_bug.cgi?id=2899

IIRC there are a few bugs in Bio::SeqFeature::Store that are hidden
due to this initial failure.


Anyway, the point is that later I see:

All tests successful.
Files=348, Tests=24136, 249 wallclock secs ( 8.99 usr  2.04 sys +
197.16 cusr 26.85 csys = 235.04 CPU)
Result: PASS


How come we get "All tests successful." when there has clearly been an
error in "t/LocalDB/SeqFeature_mysql.t"?



BioPerl version is git bcd3b66f0422493e5f1d7c05220a4e58cced6313


Cheers,
Dan.

# The place to be
irc://irc.freenode.net/#BioPerl

# Sometimes good
irc://irc.perl.org/#gmod



More information about the Bioperl-l mailing list