From 1ab901e96dcdb173ccc09ced723e58257ea2597d Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Fri, 19 Nov 2021 23:44:02 +0100 Subject: sys-auth/libfprint-1.94.1-r1: increase timeout threshold for some tests Signed-off-by: Marek Szuba --- .../libfprint/files/libfprint-1.94.1-test-timeout.patch | 15 +++++++++++++++ sys-auth/libfprint/libfprint-1.94.1-r1.ebuild | 5 ++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 sys-auth/libfprint/files/libfprint-1.94.1-test-timeout.patch (limited to 'sys-auth') diff --git a/sys-auth/libfprint/files/libfprint-1.94.1-test-timeout.patch b/sys-auth/libfprint/files/libfprint-1.94.1-test-timeout.patch new file mode 100644 index 000000000000..cc5080e2a140 --- /dev/null +++ b/sys-auth/libfprint/files/libfprint-1.94.1-test-timeout.patch @@ -0,0 +1,15 @@ +Although most libfprint tests are vert quick, several of the VirtualImage +ones come very close to the default time-out threshold of 30 seconds. +Increase the relevant threshold to 45 seconds to make those tests less +sensitive to CPU frequency, system load etc. + +--- a/tests/meson.build ++++ b/tests/meson.build +@@ -88,6 +88,7 @@ + suite: ut_suite, + depends: libfprint_typelib, + env: envs, ++ timeout: 45, + ) + endforeach + else diff --git a/sys-auth/libfprint/libfprint-1.94.1-r1.ebuild b/sys-auth/libfprint/libfprint-1.94.1-r1.ebuild index 3b98a35777fd..88248d7fdd71 100644 --- a/sys-auth/libfprint/libfprint-1.94.1-r1.ebuild +++ b/sys-auth/libfprint/libfprint-1.94.1-r1.ebuild @@ -35,7 +35,10 @@ BDEPEND=" introspection? ( dev-libs/gobject-introspection ) " -PATCHES=( ${FILESDIR}/${PN}-0.8.2-fix-implicit-declaration.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-0.8.2-fix-implicit-declaration.patch + "${FILESDIR}"/${PN}-1.94.1-test-timeout.patch +) src_configure() { local emesonargs=( -- cgit v1.2.3-65-gdbad