Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 69021

Summary: Support for src_test deps required
Product: Portage Development Reporter: Peter Johanson (RETIRED) <latexer>
Component: Core - DependenciesAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: ehmsen, flash3001, jstubbs, tove
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 69439, 147007, 159876    

Description Peter Johanson (RETIRED) gentoo-dev 2004-10-26 07:41:49 UTC
Currently, there seem to be at least a few ebuilds that when doing their tests, need *more* in the way of dependancies when they don't do their tests. There's a local USE variable "makecheck" that a few ebuilds seem to be using, but this doesn't seem to be consistent at all. (someone might enable FEATURES="maketest" but not know about the makecheck variable).

One proposed solution by axxo was to make FEATURES="maketest" enable some USE variable that we can then use in DEPENDS.

Thoughts?
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2004-10-26 09:41:40 UTC
Why no making it mandatory to add them to DEPEND, instead increasing complexity? The wonderland of features and use flags is getting big.
Comment 2 Toralf Förster gentoo-dev 2004-10-31 11:46:51 UTC
kdemultimedia-3.3.0, kdenetwork-3.3.0 and swig-1.3.21 failed during test phase if FEATURES="maketest" is activated.
Comment 3 Martin Ehmsen (RETIRED) gentoo-dev 2006-01-19 04:08:33 UTC
This seems rather old, but it would be very usefull... at least to me.
The app-text/tetex ebuild requires a running X (and hence X installed) to complete make check (maketest).
But it seems to be too much overhead to add X to DEPEND for tetex (many users won't like that X is pulled in just because of maketest).
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2006-02-10 18:37:43 UTC
*** Bug 122382 has been marked as a duplicate of this bug. ***
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2006-02-10 18:38:21 UTC
TESTDEPEND on its own doesn't cut it. SRC_URI additions are sometimes required as well.
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 09:10:30 UTC
FEATURES=test now implies USE=test in r5551.
Comment 7 Zac Medico gentoo-dev 2007-01-13 06:40:54 UTC
This has been released in 2.1.2_rc4-r9.