Gentoo Archives: gentoo-dev

From: "Jan Kundrát" <jkt@××××××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Realistic AT goals [WAS] Re: Bugzilla isn't just for bugs [reminder]
Date: Wed, 20 Jul 2005 18:02:01
Message-Id: 42DE906E.3030002@flaska.net
In Reply to: Re: [gentoo-dev] Realistic AT goals [WAS] Re: Bugzilla isn't just for bugs [reminder] by "Robin H. Johnson"
1 Robin H. Johnson wrote:
2 > On Wed, Jul 20, 2005 at 10:32:29AM -0700, Donnie Berkholz wrote:
3 >
4 >>Duncan wrote:
5 >>| The AT guidelines (available for amd64 ATs here:
6 >>| http://www.gentoo.org/proj/en/base/amd64/tests/index.xml ) specifically
7 >>| mention testing "every conceivable permutation",
8 >>That's an absolute joke for reasonably large packages with say, >=10 USE
9 >>flags. I had to look up my combinations math, but it looks like you're
10 >>already into thousands of possibilities with even 10 flags.
11 >
12 > For PHP with 41 flags (98 in current revisions of PHP5), the numbers
13 > make it simply impossible to test every combination.
14
15 10 flags -> 2^10 -> 1024
16 41 flags -> 2^41 -> 2 199 023 255 552
17 98 flags -> 2^98 -> 316 912 650 057 057 350 374 175 801 344
18
19 Enjoy :-)
20
21 -jkt
22
23 --
24 cd /local/pub && more beer > /dev/mouth

Attachments

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