commit:     31ba3a34b8c40f7bd68c5998640fac8e4da2930e
Author:     Kamal Abdellatif <gentoo.kamal <AT> tgf <DOT> pw>
AuthorDate: Mon Feb 13 10:26:09 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Feb 13 15:43:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=31ba3a34

dev-cpp/xtl: move tests out of src_compile

Signed-off-by: Kamal Abdellatif <gentoo.kamal <AT> tgf.pw>

 dev-cpp/xtl/xtl-0.7.5.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/xtl/xtl-0.7.5.ebuild b/dev-cpp/xtl/xtl-0.7.5.ebuild
index b1a9cf5da..939a65d5f 100644
--- a/dev-cpp/xtl/xtl-0.7.5.ebuild
+++ b/dev-cpp/xtl/xtl-0.7.5.ebuild
@@ -47,11 +47,13 @@ src_configure() {
 }
 
 src_compile() {
-       use test && cmake_src_compile xtest
-
        if use doc; then
                cd "${WORKDIR}/${P}/docs" || die
                emake html BUILDDIR="${BUILD_DIR}"
                HTML_DOCS=( "${BUILD_DIR}/html/." )
        fi
 }
+
+src_test() {
+       cmake_src_compile xtest
+}

Reply via email to