diff options
author | Sebastian Pipping <sping@gentoo.org> | 2021-02-22 21:44:13 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2021-02-22 21:44:13 +0100 |
commit | 6bbd8d26d3100628e8995496d626dff69f91d478 (patch) | |
tree | e6d78aa6fcefc213e3efdc634e4f72bd235b97ac /net-libs/libaxc | |
parent | dev-php/pecl-event: Version bump for 3.0.2_p1 (diff) | |
download | gentoo-6bbd8d26d3100628e8995496d626dff69f91d478.tar.gz gentoo-6bbd8d26d3100628e8995496d626dff69f91d478.tar.bz2 gentoo-6bbd8d26d3100628e8995496d626dff69f91d478.zip |
net-libs/libaxc: Fix tests
Closes: https://bugs.gentoo.org/772023
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Diffstat (limited to 'net-libs/libaxc')
-rw-r--r-- | net-libs/libaxc/libaxc-0.3.4-r1.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net-libs/libaxc/libaxc-0.3.4-r1.ebuild b/net-libs/libaxc/libaxc-0.3.4-r1.ebuild index 118c26c25d87..1bb316fb7152 100644 --- a/net-libs/libaxc/libaxc-0.3.4-r1.ebuild +++ b/net-libs/libaxc/libaxc-0.3.4-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/gkdr/axc/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" # not GPL-3+ SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="static-libs" +IUSE="static-libs test" RDEPEND=" dev-db/sqlite @@ -22,9 +22,11 @@ RDEPEND=" DEPEND=" ${RDEPEND} virtual/pkgconfig + test? ( dev-util/cmocka ) " S="${WORKDIR}"/${MY_P} +RESTRICT="!test? ( test )" PATCHES=( "${FILESDIR}"/${P}-so-symlinks.patch @@ -56,3 +58,7 @@ src_install() { rm "${D}/usr/${libdir}/libaxc.a" || die fi } + +src_test() { + emake -j1 test +} |