commit:     b93d114e0d8199c6f205adef0e9e808bbbfe2b18
Author:     Kamal Abdellatif <gentoo.kamal <AT> tgf <DOT> pw>
AuthorDate: Mon Feb 13 10:28:26 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=b93d114e

dev-cpp/xtensor: move tests out of src_compile

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

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

diff --git a/dev-cpp/xtensor/xtensor-0.24.4.ebuild 
b/dev-cpp/xtensor/xtensor-0.24.4.ebuild
index 141d6b4c0..a2d7e9ada 100644
--- a/dev-cpp/xtensor/xtensor-0.24.4.ebuild
+++ b/dev-cpp/xtensor/xtensor-0.24.4.ebuild
@@ -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

Reply via email to