summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2014-06-22 12:48:17 +0200
committerJędrzej Nowacki <jedrzej.nowacki@digia.com>2014-06-24 10:15:13 +0200
commit70f3e39a3395e93218d8bfbc8a3efa5c27766d98 (patch)
tree2cb9831ce52522d498fe28d5cf0c6407ed7e458f
parent197977da0b9d0ba9f15efc65a90aed56023fda42 (diff)
downloadqtenginio-70f3e39a3395e93218d8bfbc8a3efa5c27766d98.tar.gz
Add dummy cmake test for enginio.
The create_cmake.prf will check for the existence of the unit test, but the enginio files are known to be broken. Skip them as an exeption. Change-Id: I57aa7d0f61ad689a5c2d349a0bd4ad25111a9138 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
-rw-r--r--tests/auto/auto.pro1
-rw-r--r--tests/auto/cmake/CMakeLists.txt8
-rw-r--r--tests/auto/cmake/cmake.pro7
3 files changed, 16 insertions, 0 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 83030ed..817c5f6 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -1,6 +1,7 @@
TEMPLATE = subdirs
SUBDIRS += \
+# cmake \
enginioclient \
files \
notifications \
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt
new file mode 100644
index 0000000..6bd9e4c
--- /dev/null
+++ b/tests/auto/cmake/CMakeLists.txt
@@ -0,0 +1,8 @@
+
+cmake_minimum_required(VERSION 2.8)
+
+project(qmake_cmake_files)
+
+enable_testing()
+
+add_test(dummy ${CMAKE_COMMAND} -E echo)
diff --git a/tests/auto/cmake/cmake.pro b/tests/auto/cmake/cmake.pro
new file mode 100644
index 0000000..88b28cf
--- /dev/null
+++ b/tests/auto/cmake/cmake.pro
@@ -0,0 +1,7 @@
+
+# Cause make to do nothing.
+TEMPLATE = subdirs
+
+CMAKE_QT_MODULES_UNDER_TEST = enginio
+
+CONFIG += ctest_testcase