Gentoo Archives: gentoo-dev

From: Ryan Hill <dirtyepic@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: RFC: USE=qa-test
Date: Thu, 08 Oct 2009 05:31:42
Message-Id: 20091007233146.04b658d7@gentoo.org
In Reply to: Re: [gentoo-dev] RFC: USE=qa-test by Gilles Dartiguelongue
1 On Wed, 07 Oct 2009 16:46:36 +0200
2 Gilles Dartiguelongue <eva@g.o> wrote:
3
4 > Le mardi 06 octobre 2009 à 20:38 -0600, Ryan Hill a écrit :
5 > > Some packages, like dbus[1], have testing features that, while useful for
6 > > developers and arch-testers, aren't something that should be foisted on
7 > > users. Dbus' case is extreme, as it builds-in functions that are useful for
8 > > unit testing, but result in an insecure and unstable package (I just "fixed" a
9 > > bunch of testsuite failures i've been seeing in dbus-using packages by
10 > > disabling USE=test). Other packages have testsuites that take an unreasonable
11 > > amount of time to build/run (db, ppl, boost, that faad/faac one that takes
12 > > six hours), are pretty much guaranteed to fail (gcc, binutils), have strange
13 > > dependency quirks (can't run the tests unless the package is already
14 > > installed, create circular dependencies), or a dozen other situations I can't
15 > > think of right now.
16 > >
17 > > I'd like to propose a new USE flag, qa-test or a better name, to handle these
18 > > cases in a consistent way. This would give us a way to differentiate between
19 > > tests that everyone should run and tests that only devs and arch-testers
20 > > would be interested in, making enabling FEATURES=test by default in a future
21 > > EAPI a little more palatable. Use of this flag would be up to the
22 > > maintainer, of course.
23 >
24 > while it might sound sane, I think this proposal covers too much cases,
25 > most of which should actually be filled as bugs to the maintainers of
26 > the packages for not fixing the testsuite (or not filling an upstream
27 > bug) before commiting to the tree.
28
29 I don't mean for this to include broken testsuites; those should be fixed as
30 you said. My main motivation is to provide an option for packages like dbus
31 that have useful testsuites that really shouldn't be enabled for everyday use.
32
33
34 --
35 fonts, Character is what you are in the dark.
36 gcc-porting,
37 wxwidgets @ gentoo EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-dev] Re: RFC: USE=qa-test Peter Hjalmarsson <xake@×××××××××.net>