-----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 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 >> do it. Anyone have any ideas or a ready example script? > > % echo {x,-x}" "{y,-y} x y x -y -x y -x -y > > Is that what you need? > >
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) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EAREIAAYFAlCb/fgACgkQ2ugaI38ACPC40AD8COEU5UJmZiWM95KpVfs8YfSH r58FP/htfcTP+t0N+8ABAIfgWGNB4jSBBXRTbLvXKbnbhgDbDiPYPdj4Gsj2u1HQ =9ulP -----END PGP SIGNATURE-----