public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/fwbuilder/
Date: Thu, 14 Oct 2021 04:26:44 +0000 (UTC)	[thread overview]
Message-ID: <1634185578.7ee2eaca9a1a759f617fc5dd1b78aa2a16fa2f33.sam@gentoo> (raw)

commit:     7ee2eaca9a1a759f617fc5dd1b78aa2a16fa2f33
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 14 04:26:18 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 14 04:26:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ee2eaca

net-firewall/fwbuilder: restrict tests for now

Nearly got a decent chunk working though.

Closes: https://bugs.gentoo.org/810643
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-firewall/fwbuilder/fwbuilder-6.0.0_rc1.ebuild | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/net-firewall/fwbuilder/fwbuilder-6.0.0_rc1.ebuild b/net-firewall/fwbuilder/fwbuilder-6.0.0_rc1.ebuild
index f7a06413918..d1417c2d7df 100644
--- a/net-firewall/fwbuilder/fwbuilder-6.0.0_rc1.ebuild
+++ b/net-firewall/fwbuilder/fwbuilder-6.0.0_rc1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake
+inherit cmake virtualx
 
 DESCRIPTION="A firewall management GUI for iptables, PF, Cisco routers and more"
 HOMEPAGE="https://github.com/fwbuilder/fwbuilder"
@@ -14,7 +14,7 @@ LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE="test"
-RESTRICT="!test? ( test )"
+RESTRICT="!test? ( test ) test"
 
 RDEPEND="
 	dev-libs/libxml2
@@ -34,6 +34,18 @@ PATCHES=(
 	"${FILESDIR}"/${P}-fix_version.patch
 )
 
+src_prepare() {
+	# Hangs
+	sed -i \
+		-e '/add_subdirectory(.*Dialog.*Test)/d' \
+		-e '/add_subdirectory(RuleSetViewTest)/d' \
+		-e '/add_subdirectory(ObjectManipulatorTest)/d' \
+		-e '/add_subdirectory(RuleSetViewContextMenuTest)/d' \
+		src/unit_tests/CMakeLists.txt || die
+
+	cmake_src_prepare
+}
+
 src_configure() {
 	local mycmakeargs=(
 		-DBUILD_TESTING=$(usex test)
@@ -42,6 +54,11 @@ src_configure() {
 	cmake_src_configure
 }
 
+src_test() {
+	cp "${BUILD_DIR}"/src/libfwbuilder/etc/fwbuilder.dtd "${S}"/src/res || die
+	TEST_VERBOSE=1 FWB_RES_DIR="${S}/src/res" virtx cmake_src_test
+}
+
 src_install() {
 	cmake_src_install
 	docompress -x /usr/share/man


             reply	other threads:[~2021-10-14  4:26 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-14  4:26 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-03 21:22 [gentoo-commits] repo/gentoo:master commit in: net-firewall/fwbuilder/ David Seifert
2021-10-20  4:03 Sam James
2021-10-20  4:03 Sam James
2021-10-15  6:00 Agostino Sarubbo
2021-10-14  9:45 Sam James
2020-05-21 18:55 Andreas Sturmlechner
2019-06-17 23:29 Aaron Bauman
2018-01-07 19:24 Mikle Kolyada
2017-12-10 21:22 Sergei Trofimovich
2017-12-08 20:39 Thomas Deutschmann
2017-12-04 21:52 Andreas Sturmlechner
2017-11-23 20:49 Ulrich Müller
2017-09-24  8:34 Michael Palimaka
2017-09-24  8:34 Michael Palimaka
2017-01-15  3:58 Göktürk Yüksek
2016-04-15 11:45 Michael Palimaka
2016-03-18  4:36 Aaron Bauman
2016-03-18  3:55 Aaron Bauman
2016-03-18  3:55 Aaron Bauman
2016-03-18  3:55 Aaron Bauman
2015-12-07  8:39 Anthony G. Basile

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=1634185578.7ee2eaca9a1a759f617fc5dd1b78aa2a16fa2f33.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