dev-cpp/xtensor: 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:28:26 +00:00
parent b5cbbb68af
commit b93d114e0d

View File

@@ -76,8 +76,6 @@ src_configure() {
}
src_compile() {
use test && cmake_src_compile xtest
if use doc; then
cd "${WORKDIR}/${P}/docs" || die
emake html BUILDDIR="${BUILD_DIR}"
@@ -85,6 +83,10 @@ src_compile() {
fi
}
src_test() {
cmake_src_compile xtest
}
src_install() {
# default install starts compiling more tests
# that do not affect the header-only install image