aboutsummaryrefslogtreecommitdiff
path: root/tests/KDEInstallDirsTest/not_cache_variable/main.c
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@kde.org>2014-06-02 16:23:19 +0100
committerAlex Merry <alex.merry@kde.org>2014-06-02 16:23:19 +0100
commit5977afced396a62fb86eb178f13156588e3cfcd8 (patch)
treee45e8013d8b8c1151dd72905c936df0838c255bb /tests/KDEInstallDirsTest/not_cache_variable/main.c
parent1fe09cafc493bbe541f16d43b783cbb876cab528 (diff)
downloadextra-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/KDEInstallDirsTest/not_cache_variable/main.c')
-rw-r--r--tests/KDEInstallDirsTest/not_cache_variable/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/KDEInstallDirsTest/not_cache_variable/main.c b/tests/KDEInstallDirsTest/not_cache_variable/main.c
new file mode 100644
index 00000000..c13815ce
--- /dev/null
+++ b/tests/KDEInstallDirsTest/not_cache_variable/main.c
@@ -0,0 +1,4 @@
+int main()
+{
+ return 0;
+}