summaryrefslogtreecommitdiffstats
path: root/tests/auto/other.pro
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-05-18 09:58:16 +1000
committerRohan McGovern <rohan.mcgovern@nokia.com>2011-05-18 10:46:40 +1000
commit089ad377510515a9499f390ef2e994d781dbe509 (patch)
treece7067219f907ba94b314199bbaeb3f47b023634 /tests/auto/other.pro
parent7ef434c3a067168a0f370f836a0d6f6b28ad7d50 (diff)
If accessibility isn't built, don't try to test it
Only build the autotest when the feature to be tested is in the Qt build. This is better than building and running an empty test. Change-Id: I67721f5f48296afcca64f761d12325f8e040f2d8 Reviewed-by: Rohan McGovern (cherry picked from commit cf911bc0d297ed30e615fd115b0d3ae574cb2412) Conflicts: tests/auto/qaccessibility/tst_qaccessibility.cpp
Diffstat (limited to 'tests/auto/other.pro')
-rw-r--r--tests/auto/other.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/other.pro b/tests/auto/other.pro
index 0b49d29cc4..b3715b3993 100644
--- a/tests/auto/other.pro
+++ b/tests/auto/other.pro
@@ -5,7 +5,6 @@ TEMPLATE=subdirs
SUBDIRS=\
# baselineexample \ Just an example demonstrating qbaselinetest usage
lancelot \
- qaccessibility \
qalgorithms \
qcombobox \
qcssparser \
@@ -36,6 +35,8 @@ SUBDIRS=\
windowsmobile \
nativeimagehandleprovider
+contains(QT_CONFIG, accessibility):SUBDIRS += qaccessibility
+
contains(QT_CONFIG, OdfWriter):SUBDIRS += qzip qtextodfwriter
mac: {
SUBDIRS += macgui \