From fe62f3597577f969760debcb5c8d01e398e99c55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Johan=20S=C3=B8rvig?= Date: Tue, 13 Apr 2010 12:00:02 +0200 Subject: 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 --- tests/auto/bic/tst_bic.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/auto/bic/tst_bic.cpp') 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"; } -- cgit v1.2.3