summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-08-12 10:14:59 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-14 12:49:37 +0200
commitca4823505bee3674a8d65cd1bdd45ea93546114b (patch)
tree934a514ac157aa69a2efe7ed69abd5c6e8953812 /config.tests
parent399b591b5cd05d8ac4700c45b0531aa0da7d69a2 (diff)
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 <joerg.bornemann@nokia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'config.tests')
-rwxr-xr-xconfig.tests/unix/compile.test4
1 files changed, 4 insertions, 0 deletions
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