Never attempt to run the dbus tests on APPLE.
authorStephen Kelly <stephen.kelly@kdab.com>
Fri, 27 Apr 2012 12:30:46 +0000 (14:30 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 1 May 2012 05:10:23 +0000 (07:10 +0200)
The Qt buildsystem is creating the config files for it even
when it is not building QtDBus, so Qt5DBus_FOUND = True.

Re-enable the CI testing on mac with this change.

Task-number: QTBUG-25522

Change-Id: I5d2690d17fde6c5aabcbdd3e2eef9f0846edd97d
Reviewed-by: Alexander Neundorf <neundorf@kde.org>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/cmake/CMakeLists.txt
tests/auto/cmake/cmake.pro

index 49aaaa2..b9b0e8c 100644 (file)
@@ -95,6 +95,6 @@ expect_pass(pass8)
 
 # If QtDBus has been installed then run the tests for its macros.
 find_package(Qt5DBus QUIET)
-if (Qt5DBus_FOUND)
+if (Qt5DBus_FOUND AND NOT APPLE)
     expect_pass(pass9)
 endif()
index 1de466b..0fe999b 100644 (file)
@@ -4,8 +4,6 @@ CMAKE_VERSION = $$system(cmake --version)
 # Cause make to do nothing.
 TEMPLATE = subdirs
 
-mac:CONFIG+=insignificant_test
-
 check.commands =
 isEmpty(CMAKE_VERSION) {
     message("cmake executable not found. Not running CMake unit tests")