summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-09-08 12:23:52 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-09-08 12:23:52 (GMT)
commita88e4867b35c73af6e5b410e926b6df9dc2e19a5 (patch)
treef89ee75e2e81212e836ae25ff99967450b575e85
parent22e8dd8653281ebf79fc7fc0061b225c8daf2977 (diff)
downloadQt-a88e4867b35c73af6e5b410e926b6df9dc2e19a5.zip
Qt-a88e4867b35c73af6e5b410e926b6df9dc2e19a5.tar.gz
Qt-a88e4867b35c73af6e5b410e926b6df9dc2e19a5.tar.bz2
Added requires qtscript statement to qlocalsocket autotest.
Currrently Qt/S60 does not compile with QtScript enabled -> That's why we need to disable all autotests depending on it if QtScript is disabled. Reviewed-by: Miikka Heikkinen
-rw-r--r--tests/auto/qlocalsocket/lackey/lackey.pro2
-rw-r--r--tests/auto/qlocalsocket/test/test.pro2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qlocalsocket/lackey/lackey.pro b/tests/auto/qlocalsocket/lackey/lackey.pro
index 7bb6bc3..efb2f52 100644
--- a/tests/auto/qlocalsocket/lackey/lackey.pro
+++ b/tests/auto/qlocalsocket/lackey/lackey.pro
@@ -2,6 +2,8 @@ include(../src/src.pri)
QT = core script network
+requires(contains(QT_CONFIG,script))
+
CONFIG += qtestlib
DESTDIR = ./
diff --git a/tests/auto/qlocalsocket/test/test.pro b/tests/auto/qlocalsocket/test/test.pro
index 503f769..cfdc89b 100644
--- a/tests/auto/qlocalsocket/test/test.pro
+++ b/tests/auto/qlocalsocket/test/test.pro
@@ -44,5 +44,7 @@ wince*|symbian {
scriptFiles.path = lackey/scripts
DEPLOYMENT = additionalFiles scriptFiles
QT += script # for easy deployment of QtScript
+
+ requires(contains(QT_CONFIG,script))
}