perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Bockol <mboc...@carleton.edu>
Subject Embperl 2.2.0 make test failures
Date Mon, 10 Apr 2006 16:21:14 GMT
Hello Folks,

Two tests fail for me with Embperl 2.2.0. One seems trivial the other 
possibly not so much. Make succeeds fine and I've got it running under 
httpd 2.2.0 just fine.

The first failure seems to be just an old version in the 
test/cmp/epoincdiv.htm file. I see the following error:

#194 EmbperlObject/epoincdiv.htm...
Error in Line 286
Is:     ><P>2.2.0<P><
Should: ><P>2.1<
Input:          test/html/EmbperlObject/epoincdiv.htm
Output:         test/tmp/out.htm
Compared to:    test/cmp/epoincdiv.htm
Log:            test/tmp/test.log
Testparameter:
  cgi = 0
  offline = 0

If I change line 286 of test/cmp/epoincdiv.htm to be 2.2.0 the test passes.

A similar error occurs for test/cmp/epodiv.htm :

#196 EmbperlObject/epodiv.htm...
Error in Line 282
Is:     ><P>2.2.0<P><
Should: ><P>(2\.1.*?|1\.3.*?)<P><
Input:          test/html/EmbperlObject/epodiv.htm
Output:         test/tmp/out.htm
Compared to:    test/cmp/epodiv.htm
Log:            test/tmp/test.log
Testparameter:
  offline = 0

with a similar fix.  Then I run into real trouble:

#216 EmbperlObject/errdoc/epoerrdoc2.htm...

Expected 2 more error(s) in logfile

Input:          test/html/EmbperlObject/errdoc/epoerrdoc2.htm
Output:         test/tmp/out.htm
Log:            test/tmp/test.log
Testparameter:
  errors = 4
  noerrtest = 1
  cgi = 0
  offline = 0

The test/tmp/out.htm file shows 4 errors (the log is attached):

<html>
<head>
<title>Tests for Embperl - ErrorDocument</title>
</head>

<body>

This page is shown due to an ErrorDocument redirection<p>


main:
prev: Apache2::RequestRec=SCALAR(0x91d1a18)
next:
There are 4 errormessages:

<table border=1>
        <tr><td>[29171]ERR:  32:  Warning in Perl code:         (in 
cleanup) Can't locate bad_module_without_name.pm in @INC (@INC contain
s: /home/mbockol/wsg-src/builds/Embperl-2.2.0/blib/arch 
/home/mbockol/wsg-src/builds/Embperl-2.2.0/blib/lib . 
/usr/lib/perl5/5.8.5/i386-li
nux-thread-multi /usr/lib/perl5/5.8.5 
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thr
ead-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/sit
e_perl/5.8.1/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/
site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 
/usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 
/usr/lib/perl5/site_perl/5.8.
0 /usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-mul
ti /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /us</td></tr>

        <tr><td>[29171]ERR:  24:  Error in Perl code: Can't locate 
bad_module_without_name.pm in @INC (@INC contains: /home/mbockol/wsg-sr
c/builds/Embperl-2.2.0/blib/arch 
/home/mbockol/wsg-src/builds/Embperl-2.2.0/blib/lib . 
/usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/l
ib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl
5/site_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.1/i386-linux
-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/li
b/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 
/usr/lib/perl5/site_p
erl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi 
/usr/lib/perl5/vendo
r_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi 
/usr/lib/perl5/ve</td></tr>

        <tr><td>[29171]ERR:  32:  Warning in Perl code:         (in 
cleanup) Can't locate bad_module_without_name.pm in @INC (@INC contain
s: /home/mbockol/wsg-src/builds/Embperl-2.2.0/blib/arch 
/home/mbockol/wsg-src/builds/Embperl-2.2.0/blib/lib . 
/usr/lib/perl5/5.8.5/i386-li
nux-thread-multi /usr/lib/perl5/5.8.5 
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thr
ead-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/sit
e_perl/5.8.1/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/
site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 
/usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 
/usr/lib/perl5/site_perl/5.8.
0 /usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-mul
ti /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /us</td></tr>

        <tr><td>[29171]ERR:  24:  Error in Perl code: Can't locate 
bad_module_without_name.pm in @INC (@INC contains: /home/mbockol/wsg-sr
c/builds/Embperl-2.2.0/blib/arch 
/home/mbockol/wsg-src/builds/Embperl-2.2.0/blib/lib . 
/usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/l
ib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl
5/site_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.1/i386-linux
-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/li
b/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 
/usr/lib/perl5/site_p
erl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi 
/usr/lib/perl5/vendo
r_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi 
/usr/lib/perl5/ve</td></tr>
</table>

</body>
</html>


I can bypass this error by erasing it from test.pl and everything else 
seems to go fine. I don't understand the test process well enough at 
this point to debug it though. Hopefully this will help.

Thanks,
Matt Bockol
Web Technical Administrator
Carleton College, Northfield MN


Mime
View raw message