summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/cmake')
-rw-r--r--tests/auto/cmake/cmake.pro6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/cmake/cmake.pro b/tests/auto/cmake/cmake.pro
index 9767914140..1de466bcc0 100644
--- a/tests/auto/cmake/cmake.pro
+++ b/tests/auto/cmake/cmake.pro
@@ -4,6 +4,8 @@ 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")
@@ -47,4 +49,8 @@ isEmpty(CMAKE_VERSION) {
}
}
+insignificant_test:!isEmpty(check.commands) {
+ check.commands = -$${check.commands}
+}
+
QMAKE_EXTRA_TARGETS *= check