You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Gary Ashton-Jones <ga...@f2network.com.au> on 2001/03/15 02:40:00 UTC
make test fail at #60 and #97
Has anyone else found these tests failing? I've commented them out in
test.pl. All the other tests succeed so I assume the test is faulty rather
than Embperl.
Running perl, v5.6.1 built for i686-linux
Embperl-1.3.1
Testing offline mode...
#60 includeerr1.htm...
Error in Line 5
Is: >[2667]ERR: 24: Line 10: Error in Perl code: Can't locate object
method
"is" via package "here" (perhaps you forgot to load
"he
re"?) at test/html/includeerr1.htm line 10.<p><
Should: >\[.*?\]ERR\: 24\: Line \d+\: Error in Perl code: Can't locate
object me
thod "is" via package "here" at .*?includeerr1.htm line
10<
Input: test/html/includeerr1.htm
Output: test/tmp/out.htm
Compared to: test/cmp/includeerr1.htm
Log: test/tmp/test.log
Testparameter:
errors = 1
(Commented out includeerr1.htm test)
#60 includeerr2.htm...
Error in Line 6
Is: >[2674]ERR: 24: Line 6: Error in Perl code: Can't locate object
method &
quot;is" via package "here" (perhaps you forgot to load
"her
e"?) at incerr.htm line 6.<p><
Should: >\[.*?\]ERR\: 32\: Line \d+\: Warning in Perl code: Use of
uninitialized
value<
Input: test/html/includeerr2.htm
Output: test/tmp/out.htm
Compared to: test/cmp/includeerr2.htm
Log: test/tmp/test.log
Testparameter:
errors = 4
version = 1
(Commented out first includeerr2.htm test. Second includeerr2.htm test
succeeds!)
#97 opmask/opmasktrap.htm...
Expected 1 more error(s) in logfile
Input: test/html/opmask/opmasktrap.htm
Output: test/tmp/out.htm
Log: test/tmp/test.log
Testparameter:
errors = 2
cgi = 0
compartment = TEST
version = 1
option = 12
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: make test fail at #60 and #97
Posted by Gerald Richter <ri...@ecos.de>.
> Has anyone else found these tests failing? I've commented them out in
> test.pl. All the other tests succeed so I assume the test is faulty rather
> than Embperl.
>
> Running perl, v5.6.1 built for i686-linux
> Embperl-1.3.1
>
The problem is that error message changes in every Perl version. The make
test compares the output with what it expected, and in the *err* tests, it
expected Perl errormessage, that are different in 5.6.1 than in other Perl
versions. The same is for the optrap. So your conclusion is right, it a
problem of make test and not of Embperl
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org