diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2014-09-11 10:48:25 +0200 |
---|---|---|
committer | Laurent Montel <laurent.montel@kdab.com> | 2014-09-16 10:27:36 +0200 |
commit | 25f83d57644519e2a5bd3332407c64a1fabce1a7 (patch) | |
tree | 8f3ac83f429234bd4937ccee551b262290c16471 /tests | |
parent | e3b54bb931337d58dc8d47b17d501d0c386f282d (diff) |
Add cmake test
Change-Id: I547f5baf12be903dab5f8df01915c23bc987ab9a
Reviewed-by: Laurent Montel <laurent.montel@kdab.com>
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/auto.pro | 2 | ||||
-rw-r--r-- | tests/auto/cmake/CMakeLists.txt | 11 | ||||
-rw-r--r-- | tests/auto/cmake/cmake.pro | 4 |
3 files changed, 16 insertions, 1 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro index e5d8b01..cd69d33 100644 --- a/tests/auto/auto.pro +++ b/tests/auto/auto.pro @@ -1,3 +1,3 @@ TEMPLATE = subdirs -SUBDIRS = +SUBDIRS += cmake diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt new file mode 100644 index 0000000..ebda3be --- /dev/null +++ b/tests/auto/cmake/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required(VERSION 2.8) + +project(qmake_cmake_files) +enable_testing() +find_package(Qt5Core REQUIRED) + +include("${_Qt5CTestMacros}") + +test_module_includes( + QtTextToSpeech +) diff --git a/tests/auto/cmake/cmake.pro b/tests/auto/cmake/cmake.pro new file mode 100644 index 0000000..511f057 --- /dev/null +++ b/tests/auto/cmake/cmake.pro @@ -0,0 +1,4 @@ +# Cause make to do nothing. +TEMPLATE = subdirs +CMAKE_QT_MODULES_UNDER_TEST = qtspeech +CONFIG += ctest_testcase |