From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libaxc/
Date: Mon, 22 Feb 2021 21:09:35 +0000 (UTC) [thread overview]
Message-ID: <1614026653.6bbd8d26d3100628e8995496d626dff69f91d478.sping@gentoo> (raw)
commit: 6bbd8d26d3100628e8995496d626dff69f91d478
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 22 20:44:13 2021 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon Feb 22 20:44:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bbd8d26
net-libs/libaxc: Fix tests
Closes: https://bugs.gentoo.org/772023
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-3.0.14, Repoman-3.0.2
net-libs/libaxc/libaxc-0.3.4-r1.ebuild | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/net-libs/libaxc/libaxc-0.3.4-r1.ebuild b/net-libs/libaxc/libaxc-0.3.4-r1.ebuild
index 118c26c25d8..1bb316fb715 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
+}
next reply other threads:[~2021-02-22 21:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-22 21:09 Sebastian Pipping [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-11-29 1:18 [gentoo-commits] repo/gentoo:master commit in: net-libs/libaxc/ Sebastian Pipping
2022-10-05 10:27 Sebastian Pipping
2022-01-29 18:15 Sebastian Pipping
2021-11-09 4:55 Sam James
2021-09-27 20:21 Sam James
2021-09-27 20:21 Sam James
2021-09-09 12:31 Sebastian Pipping
2021-08-22 23:09 Sebastian Pipping
2021-04-03 22:15 Sam James
2021-04-03 22:15 Sam James
2021-02-22 21:09 Sebastian Pipping
2021-02-21 23:49 Sebastian Pipping
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1614026653.6bbd8d26d3100628e8995496d626dff69f91d478.sping@gentoo \
--to=sping@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox