commit: 6464a885784f5e794c1d609f1e44423ea72c538d Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Jan 4 16:49:17 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Jan 4 16:50:00 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6464a885
media-libs/codec2: add tests (even if we don't run them yet) Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/codec2/codec2-0.9.2-r1.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/media-libs/codec2/codec2-0.9.2-r1.ebuild b/media-libs/codec2/codec2-0.9.2-r1.ebuild index ca1c0954f6c..d79f4ea85d0 100644 --- a/media-libs/codec2/codec2-0.9.2-r1.ebuild +++ b/media-libs/codec2/codec2-0.9.2-r1.ebuild @@ -13,11 +13,13 @@ SRC_URI="https://github.com/drowe67/codec2/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0/${PV}" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="examples" +IUSE="examples test" +# Not yet passing, but infrastructure added to run +RESTRICT="test" multilib_src_configure() { local mycmakeargs=( - -DUNITTEST=OFF + -DUNITTEST=$(usex test) -DINSTALL_EXAMPLES=$(usex examples) ) cmake_src_configure
