summaryrefslogtreecommitdiffstats
path: root/tests/auto/q3buttongroup
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-05-11 04:28:43 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-05-11 04:41:06 (GMT)
commit842ba1b3878c2973b24936b18a7ee55bdd980be6 (patch)
tree60cfa30ef136fb8a96ee57552759c9726538ecf5 /tests/auto/q3buttongroup
parentb21210d646f4aaa639fa480ddf1c8e5fcd9b0572 (diff)
downloadQt-842ba1b3878c2973b24936b18a7ee55bdd980be6.zip
Qt-842ba1b3878c2973b24936b18a7ee55bdd980be6.tar.gz
Qt-842ba1b3878c2973b24936b18a7ee55bdd980be6.tar.bz2
Fixes qt3support unit tests generating compile failures when Qt is not
configured with qt3support. The build system knows when qt3support was turned off, so let's just skip these tests in that case. That makes more sense than individually configuring each autotest machine to skip these tests when the configuration is known to turn off qt3support, which is what's done previously. Reviewed-by: Lincoln Ramsay
Diffstat (limited to 'tests/auto/q3buttongroup')
-rw-r--r--tests/auto/q3buttongroup/clickLock/clickLock.pro3
-rw-r--r--tests/auto/q3buttongroup/tst_q3buttongroup.pro1
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/q3buttongroup/clickLock/clickLock.pro b/tests/auto/q3buttongroup/clickLock/clickLock.pro
index 68f5ed2..a1aa105 100644
--- a/tests/auto/q3buttongroup/clickLock/clickLock.pro
+++ b/tests/auto/q3buttongroup/clickLock/clickLock.pro
@@ -3,7 +3,8 @@ TEMPLATE = app
win32:TARGET = ../clickLock
!win32:TARGET = clickLock
-contains(QT_CONFIG, qt3support): QT += qt3support
+QT += qt3support
+requires(contains(QT_CONFIG,qt3support))
DEPENDPATH += .
INCLUDEPATH += .
CONFIG -= app_bundle
diff --git a/tests/auto/q3buttongroup/tst_q3buttongroup.pro b/tests/auto/q3buttongroup/tst_q3buttongroup.pro
index 8ec25d0..9f1f090 100644
--- a/tests/auto/q3buttongroup/tst_q3buttongroup.pro
+++ b/tests/auto/q3buttongroup/tst_q3buttongroup.pro
@@ -1,5 +1,6 @@
load(qttest_p4)
QT += qt3support
+requires(contains(QT_CONFIG,qt3support))
# Input
SOURCES += tst_q3buttongroup.cpp