Re: [gentoo-dev] A script/binary that iterates over arguments and spits out different variants?

2012-11-08 Thread Thomas Kahle
On 13:37 Thu 08 Nov 2012, Rick "Zero_Chaos" Farina wrote: > On 11/08/2012 01:18 PM, Jeroen Roovers wrote: > > For a while I've been thinking that it would be sweet to feed all > > variants (enabled/disabled) of several USE flags to a script to automate > > testing with different USE flag combinatio

Re: [gentoo-dev] A script/binary that iterates over arguments and spits out different variants?

2012-11-08 Thread Fabian Groffen
On 08-11-2012 13:46:16 -0500, Ian Stakenvicius wrote: > I'd expect the idea is to parse IUSE and run an individual test for > every combination of use flags (ie, n(IUSE) factorial tests) pfff... combs= for flag in $( eval $(grep '^IUSE=' libdv-1.0.0-r2.ebuild) ; echo ${IUSE} ) ; do flag=${fla

Re: [gentoo-dev] A script/binary that iterates over arguments and spits out different variants?

2012-11-08 Thread Alexandre Rostovtsev
On Thu, 2012-11-08 at 19:18 +0100, Jeroen Roovers wrote: > For a while I've been thinking that it would be sweet to feed all > variants (enabled/disabled) of several USE flags to a script to automate > testing with different USE flag combinations. > > USE=" x y" > USE="-x y" > USE=" x -y" > USE=

Re: [gentoo-dev] A script/binary that iterates over arguments and spits out different variants?

2012-11-08 Thread Fabian Groffen
On 08-11-2012 19:41:41 +0100, Fabian Groffen wrote: > On 08-11-2012 19:18:10 +0100, Jeroen Roovers wrote: > > For a while I've been thinking that it would be sweet to feed all > > variants (enabled/disabled) of several USE flags to a script to automate > > testing with different USE flag combinatio

Re: [gentoo-dev] A script/binary that iterates over arguments and spits out different variants?

2012-11-08 Thread Ian Stakenvicius
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 08/11/12 01:41 PM, Fabian Groffen wrote: > On 08-11-2012 19:18:10 +0100, Jeroen Roovers wrote: >> For a while I've been thinking that it would be sweet to feed >> all variants (enabled/disabled) of several USE flags to a script >> to automate test

Re: [gentoo-dev] A script/binary that iterates over arguments and spits out different variants?

2012-11-08 Thread Fabian Groffen
On 08-11-2012 19:18:10 +0100, Jeroen Roovers wrote: > For a while I've been thinking that it would be sweet to feed all > variants (enabled/disabled) of several USE flags to a script to automate > testing with different USE flag combinations. > > USE=" x y" > USE="-x y" > USE=" x -y" > USE="-x -

Re: [gentoo-dev] A script/binary that iterates over arguments and spits out different variants?

2012-11-08 Thread Rick "Zero_Chaos" Farina
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/08/2012 01:18 PM, Jeroen Roovers wrote: > For a while I've been thinking that it would be sweet to feed all > variants (enabled/disabled) of several USE flags to a script to automate > testing with different USE flag combinations. > > USE=" x y

[gentoo-dev] A script/binary that iterates over arguments and spits out different variants?

2012-11-08 Thread Jeroen Roovers
For a while I've been thinking that it would be sweet to feed all variants (enabled/disabled) of several USE flags to a script to automate testing with different USE flag combinations. USE=" x y" USE="-x y" USE=" x -y" USE="-x -y" This should be so simple to script but I can't figure out how to