From 31ba3a34b8c40f7bd68c5998640fac8e4da2930e Mon Sep 17 00:00:00 2001 From: Kamal Abdellatif Date: Mon, 13 Feb 2023 10:26:09 +0000 Subject: [PATCH] dev-cpp/xtl: move tests out of src_compile Signed-off-by: Kamal Abdellatif --- 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 b1a9cf5daf..939a65d5ff 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 +}