summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Freddi <dario.freddi@collabora.com>2011-11-04 22:03:15 +0100
committerDario Freddi <dario.freddi@collabora.com>2012-07-03 11:11:22 +0200
commit934026b59f1b3043bd2d4c1158d371c0c3a214d5 (patch)
treea20e0fd9ad757ba3474cc0f51301d08576103e79
parentd5a9a619c67f69d252ab188df8e4ab7ae841164e (diff)
dbus-tubes: This test does not require GIO in the end. Although, it does require Qt 4.8 due to its new DBus API.
-rw-r--r--tests/dbus/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/dbus/CMakeLists.txt b/tests/dbus/CMakeLists.txt
index 3ef6e639..96f7743a 100644
--- a/tests/dbus/CMakeLists.txt
+++ b/tests/dbus/CMakeLists.txt
@@ -74,10 +74,15 @@ if(ENABLE_TP_GLIB_TESTS)
tpqt_add_dbus_unit_test(StreamTubeHandlers stream-tube-handlers tp-glib-tests tp-qt-tests-glib-helpers)
if(ENABLE_TP_GLIB_GIO_TESTS)
tpqt_add_dbus_unit_test(StreamTubeChannel stream-tube-chan tp-glib-tests tp-qt-tests-glib-helpers)
- tpqt_add_dbus_unit_test(DBusTubeChannel dbus-tube-chan tp-glib-tests tp-qt-tests-glib-helpers)
endif(ENABLE_TP_GLIB_GIO_TESTS)
endif (ENABLE_TESTS_WITH_RACES_IN_QT_4_6)
+ if(NOT (${QT_VERSION_MAJOR} EQUAL 4 AND ${QT_VERSION_MINOR} LESS 8))
+ message(STATUS "Enabling Qt 4.8+ tests")
+ tpqt_add_dbus_unit_test(DBusTubeChannel dbus-tube-chan tp-glib-tests tp-qt-tests-glib-helpers)
+ endif(NOT (${QT_VERSION_MAJOR} EQUAL 4 AND ${QT_VERSION_MINOR} LESS 8))
+
+
endif(ENABLE_TP_GLIB_TESTS)
tpqt_add_dbus_unit_test(CmProtocol cm-protocol)