commit:     fd89e445d008d01d07791fe9601016acaeac86e4
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 12 13:31:11 2021 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Aug 12 13:34:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd89e445

sci-libs/ignition-common: add support and comment about disabled tests

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 sci-libs/ignition-common/ignition-common-3.11.1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sci-libs/ignition-common/ignition-common-3.11.1.ebuild 
b/sci-libs/ignition-common/ignition-common-3.11.1.ebuild
index 6247d244365..7d34ff112ff 100644
--- a/sci-libs/ignition-common/ignition-common-3.11.1.ebuild
+++ b/sci-libs/ignition-common/ignition-common-3.11.1.ebuild
@@ -15,7 +15,10 @@ 
SRC_URI="https://github.com/ignitionrobotics/ign-common/archive/${PN}${IGN_MAJOR
 LICENSE="Apache-2.0"
 SLOT="${IGN_MAJOR}"
 KEYWORDS="~amd64"
-IUSE=""
+IUSE="test"
+#RESTRICT="!test? ( test )"
+# tests dont even build
+RESTRICT="test"
 
 RDEPEND="
        dev-libs/tinyxml2:=
@@ -34,7 +37,7 @@ S="${WORKDIR}/ign-common-${PN}${IGN_MAJOR}_${PV}"
 
 src_configure() {
        local mycmakeargs=(
-               "-DBUILD_TESTING=OFF"
+               "-DBUILD_TESTING=$(usex test)"
        )
        cmake-utils_src_configure
 }

Reply via email to