summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2021-08-12 15:31:11 +0200
committerAlexis Ballier <aballier@gentoo.org>2021-08-12 15:34:41 +0200
commitfd89e445d008d01d07791fe9601016acaeac86e4 (patch)
treeb5fefd6841cd6cbfd1cbbd43a8b440085466d258
parentsci-libs/ignition-common: bump to 3.11.1 (diff)
downloadgentoo-fd89e445d008d01d07791fe9601016acaeac86e4.tar.gz
gentoo-fd89e445d008d01d07791fe9601016acaeac86e4.tar.bz2
gentoo-fd89e445d008d01d07791fe9601016acaeac86e4.zip
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@gentoo.org>
-rw-r--r--sci-libs/ignition-common/ignition-common-3.11.1.ebuild7
1 files 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 6247d244365a..7d34ff112ff0 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
}