summaryrefslogtreecommitdiff
path: root/dev-util/cunit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-09 23:42:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-09 23:42:15 +0100
commit12de738b83927a4b71c3ad067edbb6279d15b368 (patch)
tree87b2ef3927262a0aba7a923512909bdbadd71b8b /dev-util/cunit
parent7b7a5ff63901698b7b993201e07bcaf8d0e5db2f (diff)
gentoo auto-resync : 09:05:2023 - 23:42:14
Diffstat (limited to 'dev-util/cunit')
-rw-r--r--dev-util/cunit/Manifest2
-rw-r--r--dev-util/cunit/cunit-2.1_p3-r1.ebuild15
2 files changed, 13 insertions, 4 deletions
diff --git a/dev-util/cunit/Manifest b/dev-util/cunit/Manifest
index 57c3f3bb2fd1..0ceadd353db9 100644
--- a/dev-util/cunit/Manifest
+++ b/dev-util/cunit/Manifest
@@ -1,4 +1,4 @@
AUX cunit-2.1_p3-ncurses-format-security.patch 2392 BLAKE2B 9d224a4de5a2dc9cb2bcdc7eb925214f90819693cf8f052e91f87d7e09171d5b80881a61b8cd59ba75883c0bf24afd387d3a590d144791a1fe4a472303d599c8 SHA512 31dc914f4a4fc2a575ba77225b16494e8678ad2b1180f8621665be255abed3b7514f254652a241d1a0ecd4e43c1c3bd435f68d1bd7f58cf868f5e0ca748b4c0d
DIST CUnit-2.1-3.tar.bz2 514500 BLAKE2B 919ff3345c06de44662deb3c43700dc14f3c6b0b1557e162f1f527b782874082bc866b3bbc3fd18869b975d7a0a6b4730eab87ed36847249ff8fa5cbede27797 SHA512 547b417109332446dfab8fda17bf4ccd2da841dc93f824dc90a20635bcf1fb80fb2176500d8a0906940f3f3d3e2f77b2d70a71090c9ab84ad9af43f3582bc487
-EBUILD cunit-2.1_p3-r1.ebuild 1455 BLAKE2B 498d17059c96492ba3538d05d354fa99f03e6a69ec2c928fc2e014730610ad00e79792e5e9649eb8a73294d45c76a8d1f1e933bbad7641e5eb8547a4875c9681 SHA512 8d3cdcbc6cf93886c43d6bcac5436dcb7ce836fb316668cf9584850070cbf8b3bc61e463042557f468709d5182a6161dc80c377957b0f3756bd6920924105a8d
+EBUILD cunit-2.1_p3-r1.ebuild 1596 BLAKE2B f4b52637a51cd388f7ff7d07e7a52f2515199a6fc29a5b85c11ff24590d32db92b5f431feec291cd6b0b7e3946e62ae37e29088fd02d2dd5b97291005695e89c SHA512 b1285a376a35ebcb99e642d5594c1c7be63dc4261456184e0e760bf7b7316591cf5ce02bd730ded1ea77e488cd44d6f2664709eebc97945f9de64ccf6db82fb4
MISC metadata.xml 243 BLAKE2B b273312b5c9fbc82a77d8e6b2ce0364ae677c0863242438533aa5dd20f2fd3a27e4ecb63d76a5ad5647153297201239ae63968f9df4672232a5a01627d68ff82 SHA512 335883ce339777d06e702563a9122c0862154ad9551980d8534a3e158c1cc7ff120a18b2172c099c5a5dc469a4ddf2d57039ef0faa003e623e0459a882a42eb0
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() {