Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132249 - db.eclass db_src_test does not 'die' when there are failures
Summary: db.eclass db_src_test does not 'die' when there are failures
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-04 06:47 UTC by Thomas Cort (RETIRED)
Modified: 2006-05-13 20:54 UTC (History)
0 users

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


Attachments
db.eclass.patch (db.eclass.patch,557 bytes, patch)
2006-05-06 19:40 UTC, Thomas Cort (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Cort (RETIRED) gentoo-dev 2006-05-04 06:47:56 UTC
When emerge'ing db-4.2.52_p4 with FEATURES="test" I get failures on alpha. However, the emerge goes on and db gets installed anyway. Below are some snippets from the build log. If you want the full build log, let me know. I'll file a seperate bug for the failures.

>>> Source compiled.
 * Running sys-libs/db testsuite
 * This can take 6+ hours on modern machines
Test suite run started at: 20:15 05/02/06
Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Running environment tests
/** .... **/
Regression Tests Failed; see ALL.OUT for log
Test suite run completed at: 02:55 05/04/06
Test suite run started at: 20:15 05/02/06
Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
/** .... **/
Regression Tests Failed
Test suite run completed at: 02:55 05/04/06

>>> Install db-4.2.52_p4 into /var/tmp/portage/db-4.2.52_p4/image/ category sys-libs
Comment 1 Thomas Cort (RETIRED) gentoo-dev 2006-05-06 19:40:46 UTC
Created attachment 86330 [details, diff]
db.eclass.patch

The problem is the parameters for egrep. It searches for lines that do not begin with "FAIL". Since every single line does not begin with "FAIL", emerge went on. Attached is a patch that makes the eclass fail when there is at least one line that begins with "FAIL".
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2006-05-08 03:13:50 UTC
I've just committed a fixed db.eclass
Comment 3 Thomas Cort (RETIRED) gentoo-dev 2006-05-13 20:54:18 UTC
(In reply to comment #2)
> I've just committed a fixed db.eclass

The fix looks good, thanks!