commit:     c18f6bc53a6217bf45d83bc55e9966931c483201
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri May 24 20:08:54 2024 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri May 24 20:09:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c18f6bc5

dev-util/kyua: skip coredump tests

Closes: https://bugs.gentoo.org/654538
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 dev-util/kyua/kyua-0.13-r3.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-util/kyua/kyua-0.13-r3.ebuild 
b/dev-util/kyua/kyua-0.13-r3.ebuild
index cc827541fe26..f19ac7a8b9ad 100644
--- a/dev-util/kyua/kyua-0.13-r3.ebuild
+++ b/dev-util/kyua/kyua-0.13-r3.ebuild
@@ -30,6 +30,13 @@ src_configure() {
        # Uses std::auto_ptr (deprecated in c++11, removed in c++17)
        append-cxxflags "-std=c++14"
 
+       # Skip coredump tests; they fail when sudo sets RLIMIT_CORE = 0.
+       cat >"${T}/kyua.conf" <<-EOF || die
+       syntax(2)
+       test_suites.kyua.run_coredump_tests = "false"
+       EOF
+       local -x KYUA_CONFIG_FILE_FOR_CHECK="${T}/kyua.conf"
+
        default
 }
 

Reply via email to