make test not happy

Brad Fitzpatrick brad at danga.com
Mon Nov 13 18:07:23 UTC 2006


Fixed in svn 458:

$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-startup....skipped
        all skipped: Can't connect to local MySQL as root user.
All tests successful, 1 test skipped.
Files=1, Tests=0,  0 wallclock secs ( 0.25 cusr +  0.01 csys =  0.26 CPU)

$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-startup....ok
All tests successful.
Files=1, Tests=32, 10 wallclock secs ( 1.64 cusr +  0.12 csys =  1.76 CPU)



On Mon, 23 Oct 2006, dormando wrote:

> Hey,
>
> Just curious if this is known or not. Think I can work around all of the
> issues for now...
>
> The current svn won't `make test` out of the box since it wants to
> connect to mysql.
>
> t/00-startup....DBI connect('mysql','root',...) failed: Can't connect to
> local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at
> t/lib/mogtestlib.pl line 16
> # Looks like your test died before it could output anything.
> t/00-startup....dubious
>
>          Test returned status 255 (wstat 65280, 0xff00)
>
> The MogileFS-Client uploaded to CPAN make/make installs fine on debian
> sarge, but then the mogilefs-server on CPAN can't find it and won't pass
> `make test` (not in @INC).
>
> Finally, mogadm/mogtool don't seem to be anywhere on CPAN, and at least
> the former is required to pass mogilefs-server's tests?
>
> -Dormando
>
>


More information about the mogilefs mailing list