diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-06-26 14:23:38 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-06-27 09:39:01 +0200 |
commit | 16785c4c149d0e7188924fa5e01b153d4baeabfd (patch) | |
tree | edee04d839bca576462f612d439ed1c53573dc61 /tests/auto/tools/qmake/testdata/functions/functions.pro | |
parent | ae7e9a407fbcd06926216e9f9bdebc0a8144527c (diff) |
do not unnecessarily mess with CONFIG
it could/would bite us later
Change-Id: I73f989e7603c6e5b7b85fc4ee4ad2557c1b02d80
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
Diffstat (limited to 'tests/auto/tools/qmake/testdata/functions/functions.pro')
-rw-r--r-- | tests/auto/tools/qmake/testdata/functions/functions.pro | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/auto/tools/qmake/testdata/functions/functions.pro b/tests/auto/tools/qmake/testdata/functions/functions.pro index daab1fd954..6660e8d4fa 100644 --- a/tests/auto/tools/qmake/testdata/functions/functions.pro +++ b/tests/auto/tools/qmake/testdata/functions/functions.pro @@ -1,17 +1,17 @@ -CONFIG = qt thread +VAR = qt thread defineTest(testReplace) { !isEqual(1, $$2):message("FAILED: $$3: got $$1, expected $${2}.") } #count -!count( CONFIG, 2 ) { - message( "FAILED: count function: $$CONFIG" ) +!count( VAR, 2 ) { + message( "FAILED: count function: $$VAR" ) } #contains -!contains( CONFIG, thread ) { - message( "FAILED: contains function: $$CONFIG" ) +!contains( VAR, thread ) { + message( "FAILED: contains function: $$VAR" ) } #exists @@ -20,8 +20,8 @@ defineTest(testReplace) { } #isEmpty -isEmpty( CONFIG ) { - message( "FAILED: isEmpty function: $CONFIG" ) +isEmpty( VAR ) { + message( "FAILED: isEmpty function: $VAR" ) } #files |