From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cunit/
Date: Tue, 9 May 2023 17:46:32 +0000 (UTC) [thread overview]
Message-ID: <1683654379.c9692b45bbc2a47f2b3b9767ff2f895a9ad0fa62.sam@gentoo> (raw)
commit: c9692b45bbc2a47f2b3b9767ff2f895a9ad0fa62
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 9 16:23:51 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 9 17:46:19 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9692b45
dev-util/cunit: wire up tests
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/cunit/cunit-2.1_p3-r1.ebuild | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/dev-util/cunit/cunit-2.1_p3-r1.ebuild b/dev-util/cunit/cunit-2.1_p3-r1.ebuild
index 5636bc17460a..ad8ebdb97407 100644
--- a/dev-util/cunit/cunit-2.1_p3-r1.ebuild
+++ b/dev-util/cunit/cunit-2.1_p3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -16,7 +16,8 @@ SRC_URI="mirror://sourceforge/cunit/${MY_P}.tar.bz2"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="ncurses static-libs"
+IUSE="ncurses static-libs test"
+RESTRICT="!test? ( test )"
RDEPEND="ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}"
@@ -52,7 +53,15 @@ multilib_src_configure() {
econf \
$(use_enable static-libs static) \
--disable-debug \
- $(use_enable ncurses curses)
+ $(use_enable ncurses curses) \
+ $(use_enable test)
+}
+
+multilib_src_test() {
+ default
+
+ cd CUnit/Sources/Test || die
+ ./test_cunit || die
}
multilib_src_install_all() {
next reply other threads:[~2023-05-09 17:46 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-09 17:46 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-22 23:22 [gentoo-commits] repo/gentoo:master commit in: dev-util/cunit/ Conrad Kostecki
2022-12-18 12:30 Sam James
2022-12-18 12:11 Sam James
2022-12-18 11:44 Sam James
2022-12-18 11:39 Sam James
2022-12-18 11:34 Sam James
2022-12-18 11:30 Sam James
2022-05-05 23:48 WANG Xuerui
2021-08-15 22:45 James Le Cuirot
2020-11-28 12:09 Sam James
2019-11-10 15:51 Pacho Ramos
2019-05-05 17:03 Mikle Kolyada
2019-02-18 7:54 Mikle Kolyada
2019-02-18 7:51 Mikle Kolyada
2019-02-18 7:51 Mikle Kolyada
2019-02-18 7:51 Mikle Kolyada
2019-02-15 13:42 Mart Raudsepp
2019-02-02 21:17 Sergei Trofimovich
2019-02-02 19:18 Sergei Trofimovich
2019-02-02 19:09 Sergei Trofimovich
2019-02-01 10:40 Tobias Klausmann
2019-01-28 19:38 Sergei Trofimovich
2018-10-14 13:52 Mikle Kolyada
2018-03-02 21:51 Mart Raudsepp
2016-01-29 14:11 Michael Palimaka
2016-01-29 14:11 Michael Palimaka
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=1683654379.c9692b45bbc2a47f2b3b9767ff2f895a9ad0fa62.sam@gentoo \
--to=sam@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