From 660a11df364615b390fc18d6e7c601eb24476948 Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Wed, 19 Aug 2009 13:17:42 +0200 Subject: only add qtscript autotests if qt is configured appropriately --- tests/auto/auto.pro | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro index b3382bb..411e7eb 100644 --- a/tests/auto/auto.pro +++ b/tests/auto/auto.pro @@ -252,19 +252,6 @@ SUBDIRS += \ qregion \ qresourceengine \ qringbuffer \ - qscriptable \ - qscriptclass \ - qscriptcontext \ - qscriptcontextinfo \ - qscriptengine \ - qscriptengineagent \ - qscriptextqobject \ - qscriptjstestsuite \ - qscriptv8testsuite \ - qscriptstring \ - qscriptvalue \ - qscriptvalueiterator \ - qscriptenginedebugger \ qscrollarea \ qsemaphore \ qsharedpointer \ @@ -473,6 +460,21 @@ unix:!embedded:contains(QT_CONFIG, dbus):SUBDIRS += \ qdbusthreading \ qdbusxmlparser +contains(QT_CONFIG, script): SUBDIRS += \ + qscriptable \ + qscriptclass \ + qscriptcontext \ + qscriptcontextinfo \ + qscriptengine \ + qscriptengineagent \ + qscriptextqobject \ + qscriptjstestsuite \ + qscriptv8testsuite \ + qscriptstring \ + qscriptvalue \ + qscriptvalueiterator \ + qscriptenginedebugger + contains(QT_CONFIG, webkit): SUBDIRS += \ qwebframe \ qwebpage \ -- cgit v0.12