commit: 59f8ceab591f86ca8dcc892885e46336ed4b5e95
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 15 15:03:33 2017 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Aug 15 15:03:33 2017 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=59f8ceab
kde5.eclass: Re-order unconditional Frameworks tests disabling
To produce more compatible forceoptional-recursive tests.
eclass/kde5.eclass | 10 +++++-----
1 file 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