summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-10-26 18:12:20 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-31 09:48:48 +0100
commit2e8e038f68eabd44ee4dfbda7b7537895127d326 (patch)
tree8ea8f2f48714ca065f64f338089d73471e0abca9 /tests
parent6c7f668043e44218e2538dc0a453a43d9adf7e45 (diff)
downloadqtscript-2e8e038f68eabd44ee4dfbda7b7537895127d326.tar.gz
CMake: Test module includes
Change-Id: Icc2d86758f43c89493b2ef3afee913c22e2a1b88 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/cmake/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt
index 4f15a69..9be7acd 100644
--- a/tests/auto/cmake/CMakeLists.txt
+++ b/tests/auto/cmake/CMakeLists.txt
@@ -10,3 +10,10 @@ find_package(Qt5Core REQUIRED)
include("${_Qt5CTestMacros}")
expect_pass(test_modules)
+
+set(Qt5_MODULE_TEST_DEPENDS Core)
+
+test_module_includes(
+ Script QScriptEngine
+ ScriptTools QScriptEngineDebugger
+)