Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38081 - make test || die should be enabled in mod_perl
Summary: make test || die should be enabled in mod_perl
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-13 07:13 UTC by Haroon Rafique
Modified: 2005-07-25 14:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Haroon Rafique 2004-01-13 07:13:51 UTC
Way back, to close bug 21325, it was decided to replace "make test || die"  with "make test" in the mod_perl ebuilds.

I don't believe that is the correct thing to do.

The problem reported in bug 21325 was an isolated instance and would have been solved easily by upgrading CGI.pm (perhaps we should have a dependency on a recent enough CGI, e.g., dev-perl/CGI-3.00) as I found out by searching the mod_perl mailing list archives at:

http://marc.theaimsgroup.com/?l=apache-modperl&m=105950845107150&w=2

May be, it's time to add the "|| die" back in and let the tests be used for their real purpose (to tell the user when something doesn't pass 100%) rather than masking the problem and having people installed broken mod_perls.

Comments? Can you work on adding a dependency for a recent enough dev-perl/CGI?
Comment 1 Dries Harnie 2004-10-13 02:22:43 UTC
Failed Test            Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/apache/subprocess.t                 4    1  25.00%  2
t/modules/cgi.t                       5    1  20.00%  3
t/modules/cgi2.t                      5    1  20.00%  3
t/modules/cgiupload.t                 2    2 100.00%  1-2
t/modules/cgiupload2.t                2    2 100.00%  1-2
Failed 5/209 test scripts, 97.61% okay. 7/2975 subtests failed, 99.76% okay.

So all we have to do is fixe those 2.
i think the last 4 have to do with CGI.pm (not sure)
Comment 2 Dries Harnie 2004-10-13 02:24:20 UTC
Failed Test            Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/apache/subprocess.t                 4    1  25.00%  2
t/modules/cgi.t                       5    1  20.00%  3
t/modules/cgi2.t                      5    1  20.00%  3
t/modules/cgiupload.t                 2    2 100.00%  1-2
t/modules/cgiupload2.t                2    2 100.00%  1-2
Failed 5/209 test scripts, 97.61% okay. 7/2975 subtests failed, 99.76% okay.

So all we have to do is fixe those 2.
i think the last 4 have to do with CGI.pm (not sure)
Comment 3 Dries Harnie 2004-10-13 02:57:37 UTC
that was with CGI 3.05
here's with 2.93:
t/apache/subprocess.t                4    1  25.00%  2
t/modules/cgi.t                      5    1  20.00%  3
t/modules/cgiupload.t                2    2 100.00%  1-2
5 tests skipped.
Failed 3/209 test scripts, 98.56% okay. 4/2962 subtests failed, 99.86% okay.

so less b0rkage ..
i'm beginning to suspend CGI doesnt handle URL escaped codes..
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-07-21 15:30:12 UTC
Re-assign.
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2005-07-25 14:37:26 UTC
discussed and resolved. make test || die doesn't work in mod_perl because of how
the tests are being called.