aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-08-15 17:03:33 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-08-15 17:03:33 +0200
commit59f8ceab591f86ca8dcc892885e46336ed4b5e95 (patch)
treefe45ffb4297c064c4e9701ec8d7980aee08c4bd9 /eclass
parentkde5.eclass: Update KDE_TEST documentation (diff)
downloadkde-59f8ceab591f86ca8dcc892885e46336ed4b5e95.tar.gz
kde-59f8ceab591f86ca8dcc892885e46336ed4b5e95.tar.bz2
kde-59f8ceab591f86ca8dcc892885e46336ed4b5e95.zip
kde5.eclass: Re-order unconditional Frameworks tests disabling
To produce more compatible forceoptional-recursive tests.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde5.eclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index afc990f944..93e4f01277 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -624,11 +624,6 @@ kde5_src_prepare() {
fi
fi
- # in frameworks, tests = manual tests so never build them
- if [[ ${CATEGORY} = kde-frameworks ]] && [[ ${PN} != extra-cmake-modules ]]; then
- cmake_comment_add_subdirectory tests
- fi
-
# only build unit tests when required
if ! use_if_iuse test ; then
if [[ ${KDE_TEST} = forceoptional ]] ; then
@@ -659,6 +654,11 @@ kde5_src_prepare() {
cmake_comment_add_subdirectory autotests test tests
fi
fi
+
+ # in frameworks, tests = manual tests so never build them
+ if [[ ${CATEGORY} = kde-frameworks ]] && [[ ${PN} != extra-cmake-modules ]]; then
+ cmake_comment_add_subdirectory tests
+ fi
}
# @FUNCTION: kde5_src_configure