summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-11-19 23:44:02 +0100
committerMarek Szuba <marecki@gentoo.org>2021-11-20 01:52:57 +0100
commit1ab901e96dcdb173ccc09ced723e58257ea2597d (patch)
tree9764c719f9ca3eb721d3375af2aa89589c08021f /sys-auth
parentapp-metrics/collectd: add support for >=java-11 (diff)
downloadgentoo-1ab901e96dcdb173ccc09ced723e58257ea2597d.tar.gz
gentoo-1ab901e96dcdb173ccc09ced723e58257ea2597d.tar.bz2
gentoo-1ab901e96dcdb173ccc09ced723e58257ea2597d.zip
sys-auth/libfprint-1.94.1-r1: increase timeout threshold for some tests
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/libfprint/files/libfprint-1.94.1-test-timeout.patch15
-rw-r--r--sys-auth/libfprint/libfprint-1.94.1-r1.ebuild5
2 files changed, 19 insertions, 1 deletions
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=(