summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@nokia.com>2010-04-13 10:00:02 (GMT)
committerMorten Johan Sørvig <morten.sorvig@nokia.com>2010-04-13 10:00:32 (GMT)
commitfe62f3597577f969760debcb5c8d01e398e99c55 (patch)
treeb2ea331f879f4496d23a5d921abc26e2c137a407 /tests/auto
parent859389593c7b69b134c00c24a5eee64426cb4858 (diff)
downloadQt-fe62f3597577f969760debcb5c8d01e398e99c55.zip
Qt-fe62f3597577f969760debcb5c8d01e398e99c55.tar.gz
Qt-fe62f3597577f969760debcb5c8d01e398e99c55.tar.bz2
Don't test DBus BIC if QT_NO_DBUS is defined.
Change b34817d3fc adds a configure option and wraps the dbus classes in QT_NO_DBUS. DBus is off by default on Mac - the BIC test fails for the missing classes. Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/bic/tst_bic.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/bic/tst_bic.cpp b/tests/auto/bic/tst_bic.cpp
index 0331c96..2349afa 100644
--- a/tests/auto/bic/tst_bic.cpp
+++ b/tests/auto/bic/tst_bic.cpp
@@ -147,7 +147,9 @@ void tst_Bic::initTestCase_data()
QTest::newRow("QtXmlPatterns") << "QtXmlPatterns";
QTest::newRow("Qt3Support") << "Qt3Support";
QTest::newRow("QtTest") << "QtTest";
+#ifndef QT_NO_DBUS
QTest::newRow("QtDBus") << "QtDBus";
+#endif
QTest::newRow("QtDesigner") << "QtDesigner";
}