You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by jesse <je...@everchanging.org> on 2001/02/01 16:54:01 UTC

How do I debug failed tests? (error_log isn't helping)

here's current setup:
slackware 7.0, with kernel 2.2.16
trying to compile & test mod_perl 1.25 with fresh apache 1.3.17 source
have perl 5.6.0 installed
have libwww installed

make test has various errors (failed 18 total)
how do i debug these and fix them?

modules/cgi.........ok 5/5FAILED test 4
        Failed 1/5 tests, 80.00% okay
modules/perlrun.....FAILED before any test output arrived
modules/status......fetch /perl/perl-status failed!
modules/status......dubious
        Test returned status 111 (wstat 28416, 0x6f00)
DIED. FAILED tests 1-7
        Failed 7/7 tests, 0.00% okay
internal/dirmagic...FAILED before any test output arrived
internal/http-get...NOK 16FAILED test 16
        Failed 1/16 tests, 93.75% okay
internal/rwrite.....NOK 2FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
internal/table......FAILED before any test output arrived

Failed 7/33 test scripts, 78.79% okay. 11/244 subtests failed, 95.49% okay.


sorry if this has already been done over..
oh, and is there an archive of this mailing list? (since i just subscribed, i'd like to look over some of the old stuff so i don't duplicate
too much)

thanks in advance..

-- 
jesse|everchanging.org

Re: How do I debug failed tests? (error_log isn't helping)

Posted by Michael <mi...@bizsystems.com>.
> make test has various errors (failed 18 total)
> how do i debug these and fix them?

The test routines are just ordinary perl code that exercise various 
portions of the module. It is like debugging any other perl code.
I don't suppose that was the answer you wanted, but that's the way it 
works. You might start by finding the variable VERBOSE in the 
makefile and setting it to '1' 

Michael

> 
> modules/cgi.........ok 5/5FAILED test 4
>         Failed 1/5 tests, 80.00% okay
> modules/perlrun.....FAILED before any test output arrived
> modules/status......fetch /perl/perl-status failed!
> modules/status......dubious
>         Test returned status 111 (wstat 28416, 0x6f00)
> DIED. FAILED tests 1-7
>         Failed 7/7 tests, 0.00% okay
> internal/dirmagic...FAILED before any test output arrived
> internal/http-get...NOK 16FAILED test 16
>         Failed 1/16 tests, 93.75% okay
> internal/rwrite.....NOK 2FAILED tests 1-2
>         Failed 2/2 tests, 0.00% okay
> internal/table......FAILED before any test output arrived
> 
> Failed 7/33 test scripts, 78.79% okay. 11/244 subtests failed,
> 95.49% okay.
> 
> 
> sorry if this has already been done over..
> oh, and is there an archive of this mailing list? (since i just
> subscribed, i'd like to look over some of the old stuff so i don't
> duplicate too much)
> 
> thanks in advance..
> 
> -- 
> jesse|everchanging.org
> 

Re: How do I debug failed tests? (error_log isn't helping)

Posted by Ken Williams <ke...@forum.swarthmore.edu>.
Jesse,

It looks from your output like the server isn't even running for these
tests.  Try to figure out whether that's true, and if so why it stopped
(or never started).

The debugging process here is admittedly a bit difficult.

There's an archive at http://mathforum.com/epigone/modperl/ .

jesse@everchanging.org (jesse) wrote:
>here's current setup:
>slackware 7.0, with kernel 2.2.16
>trying to compile & test mod_perl 1.25 with fresh apache 1.3.17 source
>have perl 5.6.0 installed
>have libwww installed
>
>make test has various errors (failed 18 total)
>how do i debug these and fix them?
>
>modules/cgi.........ok 5/5FAILED test 4
>        Failed 1/5 tests, 80.00% okay
>modules/perlrun.....FAILED before any test output arrived
>modules/status......fetch /perl/perl-status failed!
>modules/status......dubious
>        Test returned status 111 (wstat 28416, 0x6f00)
>DIED. FAILED tests 1-7
>        Failed 7/7 tests, 0.00% okay
>internal/dirmagic...FAILED before any test output arrived
>internal/http-get...NOK 16FAILED test 16
>        Failed 1/16 tests, 93.75% okay
>internal/rwrite.....NOK 2FAILED tests 1-2
>        Failed 2/2 tests, 0.00% okay
>internal/table......FAILED before any test output arrived
>
>Failed 7/33 test scripts, 78.79% okay. 11/244 subtests failed, 95.49% okay.
>
>
>sorry if this has already been done over..
>oh, and is there an archive of this mailing list? (since i just subscribed,
i'd 
>like to look over some of the old stuff so i don't duplicate
>too much)
>
>thanks in advance..
>
>-- 
>jesse|everchanging.org
>

  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  ken@forum.swarthmore.edu                            The Math Forum