On Sat, Aug 05, 2006 at 02:26:16AM +0200, Jakub Moc wrote:
> Kevin F. Quinn wrote:
> > I'd like to suggest we make FEATURES=test (and therefore USE=test) the
> > default behaviour, rather than the opt-in we currently have.  Far too
> > many packages fail their test phase.
> 
> Sure everyone likes to watch glibc failing? :P </joke>
> 
> Well, can't be done until bugs such as
> http://bugs.gentoo.org/show_bug.cgi?id=69343 are solved (at least as in
> sticking RESTRICT=test there) instead of being ignored.
> 
> > At the very least, ebuild maintainers and ATs should be running with
> > tests switched on.  If the tests are known to fail then the ebuild can
> > either RESTRICT=test, or just return successfully from src_test()
> > where the test report is useful even if some tests fail.
> 
> See above. And even then, I don't think it's a good idea to force this
> upon users. Lots of packages have tests that are very time-consuming,
> and there are packages that always fail tests and it's pretty much
> expected (PHP is one of them; and while the failure isn't fatal there,
> it still takes tons of time to go thru those ~2000 tests). And there are
> tons of packages where tests are more or less unmaintained.

Agreed. It may be better to instead have a FORCE="test" on certain
ebuilds (mainly sci-* stuff where you want to be sure the numbers are
coming out correctly) -- adding FEATURES="test" to the default set
will cause serious breakage and will take quite some time to be
fully fixed across the whole tree.
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to