commit:     46551403d78089179da19f060682e9d7bffe07e7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 15 23:43:57 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 15 23:48:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46551403

app-emulation/libvirt: increase test timeout for slower arches

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

 app-emulation/libvirt/libvirt-7.7.0.ebuild | 4 +++-
 app-emulation/libvirt/libvirt-7.8.0.ebuild | 4 +++-
 app-emulation/libvirt/libvirt-9999.ebuild  | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/app-emulation/libvirt/libvirt-7.7.0.ebuild 
b/app-emulation/libvirt/libvirt-7.7.0.ebuild
index 7eebe2d3d82..885c9c37f2d 100644
--- a/app-emulation/libvirt/libvirt-7.7.0.ebuild
+++ b/app-emulation/libvirt/libvirt-7.7.0.ebuild
@@ -288,7 +288,9 @@ src_test() {
        export VIR_TEST_DEBUG=1
        # Don't run the syntax check tests, they're fragile and not relevant
        # to us downstream anyway.
-       meson_src_test --no-suite syntax-check
+       # We also crank up the timeout (as Fedora does) just to preempt failures
+       # on slower arches.
+       meson_src_test --no-suite syntax-check --timeout-multiplier 10
 }
 
 src_install() {

diff --git a/app-emulation/libvirt/libvirt-7.8.0.ebuild 
b/app-emulation/libvirt/libvirt-7.8.0.ebuild
index 7eebe2d3d82..885c9c37f2d 100644
--- a/app-emulation/libvirt/libvirt-7.8.0.ebuild
+++ b/app-emulation/libvirt/libvirt-7.8.0.ebuild
@@ -288,7 +288,9 @@ src_test() {
        export VIR_TEST_DEBUG=1
        # Don't run the syntax check tests, they're fragile and not relevant
        # to us downstream anyway.
-       meson_src_test --no-suite syntax-check
+       # We also crank up the timeout (as Fedora does) just to preempt failures
+       # on slower arches.
+       meson_src_test --no-suite syntax-check --timeout-multiplier 10
 }
 
 src_install() {

diff --git a/app-emulation/libvirt/libvirt-9999.ebuild 
b/app-emulation/libvirt/libvirt-9999.ebuild
index 7eebe2d3d82..885c9c37f2d 100644
--- a/app-emulation/libvirt/libvirt-9999.ebuild
+++ b/app-emulation/libvirt/libvirt-9999.ebuild
@@ -288,7 +288,9 @@ src_test() {
        export VIR_TEST_DEBUG=1
        # Don't run the syntax check tests, they're fragile and not relevant
        # to us downstream anyway.
-       meson_src_test --no-suite syntax-check
+       # We also crank up the timeout (as Fedora does) just to preempt failures
+       # on slower arches.
+       meson_src_test --no-suite syntax-check --timeout-multiplier 10
 }
 
 src_install() {

Reply via email to