telepathy-qt: CMakeLists: BaseChannelFileTransferType tests disabled for Qt4

Alexandr Akulich kaffeine at kemper.freedesktop.org
Fri Sep 16 08:46:58 UTC 2016


Module: telepathy-qt
Branch: master
Commit: 180cb51614e4fdaba82c49683512b82f627d0f49
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=180cb51614e4fdaba82c49683512b82f627d0f49

Author: Alexandr Akulich <akulichalexander at gmail.com>
Date:   Thu Sep  8 02:38:44 2016 +0500

CMakeLists: BaseChannelFileTransferType tests disabled for Qt4

The disabled tests use Qt5 macros

---

 tests/dbus/CMakeLists.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/dbus/CMakeLists.txt b/tests/dbus/CMakeLists.txt
index 41a0706..d676e5a 100644
--- a/tests/dbus/CMakeLists.txt
+++ b/tests/dbus/CMakeLists.txt
@@ -93,7 +93,9 @@ tpqt_add_dbus_unit_test(Types types)
 if(ENABLE_SERVICE_SUPPORT)
     tpqt_add_dbus_unit_test(BaseConnectionManager base-cm telepathy-qt${QT_VERSION_MAJOR}-service)
     tpqt_add_dbus_unit_test(BaseProtocol base-protocol telepathy-qt${QT_VERSION_MAJOR}-service)
-    tpqt_add_dbus_unit_test(BaseChannelFileTransferType base-filetransfer telepathy-qt${QT_VERSION_MAJOR}-service)
+    if (${QT_VERSION_MAJOR} EQUAL 5)
+        tpqt_add_dbus_unit_test(BaseChannelFileTransferType base-filetransfer telepathy-qt${QT_VERSION_MAJOR}-service)
+    endif()
 endif()
 
 # Make check target. In case of check, output on failure and put it into a log



More information about the telepathy-commits mailing list