diff options
author | Alex Merry <alex.merry@kde.org> | 2014-06-02 16:23:19 +0100 |
---|---|---|
committer | Alex Merry <alex.merry@kde.org> | 2014-06-02 16:23:19 +0100 |
commit | 5977afced396a62fb86eb178f13156588e3cfcd8 (patch) | |
tree | e45e8013d8b8c1151dd72905c936df0838c255bb /tests/CMakeLists.txt | |
parent | 1fe09cafc493bbe541f16d43b783cbb876cab528 (diff) | |
download | extra-cmake-modules-5977afced396a62fb86eb178f13156588e3cfcd8.tar.gz extra-cmake-modules-5977afced396a62fb86eb178f13156588e3cfcd8.tar.bz2 |
Reorganize tests
Move the detailed testing of KDEInstallDirs from ExecuteKDEModules to a
subdir of KDEInstallDirsTest. This is where you would expect to find it,
and it also makes sure that other KDE modules are not affecting the
test.
This also makes the KDEInstallDirs/not_cache_variable regression test
work the same way as the other tests, doing a double-configure and
build. While not stricly necessary to catch the original issue, it does
ensure that the problem does not appear when reconfiguring either.
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index ad341c00..dfcc252a 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -3,7 +3,6 @@ add_subdirectory(ECMGenerateHeadersTest) add_subdirectory(ECMSetupVersionTest) -add_subdirectory(KDEInstallDirsTest) macro(ADD_TEST_MACRO NAME COMMAND) string(REPLACE "." "/" dir "${NAME}") @@ -24,6 +23,8 @@ find_package(Qt5LinguistTools CONFIG) add_test_macro(ExecuteCoreModules dummy) add_test_macro(ExecuteKDEModules dummy) +add_test_macro(KDEInstallDirsTest.vars_defined dummy) +add_test_macro(KDEInstallDirsTest.not_cache_variable dummy) add_test_macro(FindModules dummy) add_test_macro(UseFindModules dummy) |