commit:     f035ccfa49897a9287736e3078da24c0faf20e48
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 25 13:13:56 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Nov 25 13:25:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f035ccfa

kde-apps/ark: Add missing test BDEPEND, skip segfaulting/hanging test

plugins-clirartest requires app-arch/rar.
kerfuffle-addtoarchivetest may segfault or hang indefinitely.

Bug: https://bugs.gentoo.org/822177
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/ark/ark-21.08.3.ebuild | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/kde-apps/ark/ark-21.08.3.ebuild b/kde-apps/ark/ark-21.08.3.ebuild
index 6d0cf94f6acc..40ed06b503e5 100644
--- a/kde-apps/ark/ark-21.08.3.ebuild
+++ b/kde-apps/ark/ark-21.08.3.ebuild
@@ -48,6 +48,7 @@ DEPEND="${RDEPEND}
 "
 BDEPEND="
        sys-devel/gettext
+       test? ( app-arch/rar )
 "
 
 src_configure() {
@@ -58,6 +59,15 @@ src_configure() {
        ecm_src_configure
 }
 
+src_test() {
+       local myctestargs=(
+               # bug 822177: may segfault or hang indefinitely
+               -E "(kerfuffle-addtoarchivetest)"
+       )
+
+       ecm_src_test
+}
+
 pkg_postinst() {
        if [[ -z "${REPLACING_VERSIONS}" ]]; then
                optfeature "rar archive creation/extraction" app-arch/rar

Reply via email to