commit:     2bbf56eedf278d36b1f8208dbfd47f7db4e12169
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  6 16:03:45 2022 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Jun  6 16:03:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bbf56ee

sys-libs/glibc: Give the testsuite a bit more time

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sys-libs/glibc/glibc-2.35-r7.ebuild | 5 ++++-
 sys-libs/glibc/glibc-9999.ebuild    | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/sys-libs/glibc/glibc-2.35-r7.ebuild 
b/sys-libs/glibc/glibc-2.35-r7.ebuild
index 6ce1a5fa2ca8..05fbd55a47fc 100644
--- a/sys-libs/glibc/glibc-2.35-r7.ebuild
+++ b/sys-libs/glibc/glibc-2.35-r7.ebuild
@@ -1191,7 +1191,10 @@ glibc_src_test() {
        # sandbox does not understand unshare() and prevents
        # writes to /proc/, which makes many tests fail
 
-       SANDBOX_ON=0 LD_PRELOAD= emake ${myxfailparams} check
+       # we give the tests a bit more time to avoid spurious
+       # bug reports on slow arches
+
+       SANDBOX_ON=0 LD_PRELOAD= TIMEOUTFACTOR=16 emake ${myxfailparams} check
 }
 
 do_src_test() {

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index b719a898e915..036cc591795c 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -1181,7 +1181,10 @@ glibc_src_test() {
        # sandbox does not understand unshare() and prevents
        # writes to /proc/, which makes many tests fail
 
-       SANDBOX_ON=0 LD_PRELOAD= emake ${myxfailparams} check
+       # we give the tests a bit more time to avoid spurious
+       # bug reports on slow arches
+
+       SANDBOX_ON=0 LD_PRELOAD= TIMEOUTFACTOR=16 emake ${myxfailparams} check
 }
 
 do_src_test() {

Reply via email to