commit:     e3df0c21f27cb65b8abed3a43846d798e2c59df1
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Tue Jan 30 20:53:12 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 30 21:27:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3df0c21

net-dns/bind: increase test timeouts, skip one test on sparc

Closes: https://bugs.gentoo.org/852692
Bug: https://bugs.gentoo.org/908617
Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-dns/bind/bind-9.16.41.ebuild | 9 ++++++++-
 net-dns/bind/bind-9.16.42.ebuild | 9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/net-dns/bind/bind-9.16.41.ebuild b/net-dns/bind/bind-9.16.41.ebuild
index bb9265810cb1..09c4787d7cf7 100644
--- a/net-dns/bind/bind-9.16.41.ebuild
+++ b/net-dns/bind/bind-9.16.41.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Re dlz/mysql and threads, needs to be verified..
@@ -101,6 +101,13 @@ src_prepare() {
        # Should be installed by bind-tools
        sed -i -r -e "s:(nsupdate|dig|delv) ::g" bin/Makefile.in || die
 
+       # Slow tests
+       sed -i "s/{name='mem_test'}/{name='mem_test',timeout=900}/" 
"lib/isc/tests/Kyuafile" || die
+       sed -i "s/{name='timer_test'}/{name='timer_test',timeout=900}/" 
"lib/isc/tests/Kyuafile" || die
+
+       # Conditionally broken
+       use sparc && sed -i "/{name='netmgr_test'}/d" "lib/isc/tests/Kyuafile" 
|| die
+
        # bug #220361
        rm aclocal.m4 || die
        rm -rf libtool.m4/ || die

diff --git a/net-dns/bind/bind-9.16.42.ebuild b/net-dns/bind/bind-9.16.42.ebuild
index bb9265810cb1..09c4787d7cf7 100644
--- a/net-dns/bind/bind-9.16.42.ebuild
+++ b/net-dns/bind/bind-9.16.42.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Re dlz/mysql and threads, needs to be verified..
@@ -101,6 +101,13 @@ src_prepare() {
        # Should be installed by bind-tools
        sed -i -r -e "s:(nsupdate|dig|delv) ::g" bin/Makefile.in || die
 
+       # Slow tests
+       sed -i "s/{name='mem_test'}/{name='mem_test',timeout=900}/" 
"lib/isc/tests/Kyuafile" || die
+       sed -i "s/{name='timer_test'}/{name='timer_test',timeout=900}/" 
"lib/isc/tests/Kyuafile" || die
+
+       # Conditionally broken
+       use sparc && sed -i "/{name='netmgr_test'}/d" "lib/isc/tests/Kyuafile" 
|| die
+
        # bug #220361
        rm aclocal.m4 || die
        rm -rf libtool.m4/ || die

Reply via email to