From ca4823505bee3674a8d65cd1bdd45ea93546114b Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sun, 12 Aug 2012 10:14:59 +0200 Subject: introduce compileTest function this cuts down the enormous duplication of identical command line args passed to compile.test. this necessitates the addition of a -config parameter to compile.test, as QMAKE_CONFIG needs to be extended in some cases. Change-Id: I677b2fea4a407b9e4395e70a25e4e349efb0a946 Reviewed-by: Joerg Bornemann Reviewed-by: Thiago Macieira --- config.tests/unix/compile.test | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.tests') diff --git a/config.tests/unix/compile.test b/config.tests/unix/compile.test index f82fbf9024..c63c36e1b6 100755 --- a/config.tests/unix/compile.test +++ b/config.tests/unix/compile.test @@ -19,6 +19,10 @@ MAC_ARCH_LFLAGS="" while [ "$#" -gt 0 ]; do PARAM=$1 case $PARAM in + -config) + QMAKE_CONFIG="$QMAKE_CONFIG $2" + shift + ;; -framework) LFLAGS="$LFLAGS -framework \"$2\"" shift -- cgit v1.2.3