Gentoo Archives: gentoo-dev

From: Jeroen Roovers <jer@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] A script/binary that iterates over arguments and spits out different variants?
Date: Thu, 08 Nov 2012 18:19:22
Message-Id: 20121108191810.2044af53@marga.jer-c2.orkz.net
1 For a while I've been thinking that it would be sweet to feed all
2 variants (enabled/disabled) of several USE flags to a script to automate
3 testing with different USE flag combinations.
4
5 USE=" x y"
6 USE="-x y"
7 USE=" x -y"
8 USE="-x -y"
9
10 This should be so simple to script but I can't figure out how to do it.
11 Anyone have any ideas or a ready example script?
12
13
14 jer

Replies