Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-perl
Hi -
Me again. I am still having problems with return code
from a failed make test. Here is a specific example using
the ebuild I created for DBD-mysql. On my system I run with
the normal gentoo perl:
* dev-lang/perl
Available versions: 5.8.6-r5 5.8.6-r6 5.8.6-r7 5.8.6-r8 5.8.7 5.8.7-r1
5.8.7-r2 5.8.7-r3
Installed: 5.8.7-r3
Homepage: http://www.perl.org/
Description: Larry Wall's Practical Extraction and Reporting
Language
and a perl compiled from the perl.org stable sources
and installed on a user (/home/beau).
I force a failure in the DBD-mysql my specifying an invalid
user name on the perl Makefile.PL command.
Using the 'normal' gentoo perl make test:
[...]
FAILED before any test output arrived
t/mysql2.............Mysql
connect('database=test;host=;mysql_emulated_prepare=1','mysqlx',...) failed:
Access denied for user 'mysqlx'@'localhost' (using password: YES) at
t/mysql2.t line 29
Can't call method "getserverinfo" on an undefined value at t/mysql2.t line 30.
t/mysql2.............dubious
Test returned status 255 (wstat 65280, 0xff00)
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/10dsnlist.t 10 2560 9 17 188.89% 1-9
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
[...yada,yada...]
-------------------------------------------------------------------------------
t/mysql.t ?? ?? % ??
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/mysql2.t 255 65280 ?? ?? % ??
1 test skipped.
Failed 19/21 test scripts, 9.52% okay. 890/897 subtests failed, 0.78% okay.
Files=21, Tests=897, 7 wallclock secs ( 1.77 cusr + 0.24 csys = 2.01 CPU)
$ echo $?
0
Using a perl compiled from the perl.org source:
[...]
FAILED before any test output arrived
t/mysql2.............Mysql
connect('database=test;host=;mysql_emulated_prepare=1','mysqlx',...) failed:
Access denied for user 'mysqlx'@'localhost' (using password: YES) at
t/mysql2.t line 29
Can't call method "getserverinfo" on an undefined value at t/mysql2.t line 30.
t/mysql2.............dubious
Test returned status 255 (wstat 65280, 0xff00)
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/10dsnlist.t 10 2560 9 17 188.89% 1-9
[...yada,yada...]
t/mysql2.t 255 65280 ?? ?? % ??
1 test skipped.
Failed 19/21 test scripts, 9.52% okay. 890/897 subtests failed, 0.78% okay.
make: *** [test_dynamic] Error 255
$ echo $?
2
NOTE:
1) gentoo perl return 0
2) my perl returns 2 and says "make: *** [test_dynamic] Error 255"
The differences in perl -V seem to be:
gentoo has:
cc='i686-pc-linux-gnu-gcc'
while I have:
cc='cc'
-Duseshrplib defined
I am totally confused! I wonder if anyone can reproduce this
or if it is a figment of a misconfiguration of mine?
--
Aloha => Beau;
--
gentoo-perl@g.o mailing list
|
|