summaryrefslogtreecommitdiff
path: root/tests/auto/bic/tst_bic.cpp
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@nokia.com>2010-04-13 12:00:02 +0200
committerMorten Johan Sørvig <morten.sorvig@nokia.com>2010-04-13 12:00:32 +0200
commitfe62f3597577f969760debcb5c8d01e398e99c55 (patch)
treeb2ea331f879f4496d23a5d921abc26e2c137a407 /tests/auto/bic/tst_bic.cpp
parent859389593c7b69b134c00c24a5eee64426cb4858 (diff)
downloadqt4-tools-fe62f3597577f969760debcb5c8d01e398e99c55.tar.gz
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/bic/tst_bic.cpp')
-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 0331c96d0b..2349afa372 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";
}