dev-cpp/xtl: move tests out of src_compile

Signed-off-by: Kamal Abdellatif <gentoo.kamal@tgf.pw>
This commit is contained in:
Kamal Abdellatif
2023-02-13 10:26:09 +00:00
parent a960b203c4
commit 31ba3a34b8

View File

@@ -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
}