summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-01-25 03:55:11 +0000
committerSam James <sam@gentoo.org>2025-01-25 03:57:18 +0000
commit3fd26f73ff5868c5c1a1d6279491dcbe47d7f129 (patch)
treefc7183ade61c7f5d5ac5737eeeed9e758b10206a /dev-libs/libgcrypt
parentnet-libs/nghttp3: Stabilize 1.7.0 hppa, #948627 (diff)
downloadgentoo-3fd26f73ff5868c5c1a1d6279491dcbe47d7f129.tar.gz
gentoo-3fd26f73ff5868c5c1a1d6279491dcbe47d7f129.tar.bz2
gentoo-3fd26f73ff5868c5c1a1d6279491dcbe47d7f129.zip
dev-libs/libgcrypt: skip benchmark tests
Matt reported that 'bench-slope' took at least 6.5 hours on HPPA (on a PA8900, which is the fastest it has!) and I've noticed this test taking a while (though far less time) on amd64. Let's skip it by setting GCRYPT_NO_BENCHMARKS which the testsuite already provides for us. Reported-by: Matt Turner <mattst88@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libgcrypt')
-rw-r--r--dev-libs/libgcrypt/libgcrypt-1.10.2.ebuild5
-rw-r--r--dev-libs/libgcrypt/libgcrypt-1.10.3-r1.ebuild5
-rw-r--r--dev-libs/libgcrypt/libgcrypt-1.10.3-r2.ebuild5
-rw-r--r--dev-libs/libgcrypt/libgcrypt-1.11.0-r1.ebuild3
-rw-r--r--dev-libs/libgcrypt/libgcrypt-1.11.0-r2.ebuild5
-rw-r--r--dev-libs/libgcrypt/libgcrypt-1.11.0.ebuild5
6 files changed, 23 insertions, 5 deletions
diff --git a/dev-libs/libgcrypt/libgcrypt-1.10.2.ebuild b/dev-libs/libgcrypt/libgcrypt-1.10.2.ebuild
index 6c0585d89698..7954c5f2aa9a 100644
--- a/dev-libs/libgcrypt/libgcrypt-1.10.2.ebuild
+++ b/dev-libs/libgcrypt/libgcrypt-1.10.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -167,6 +167,9 @@ multilib_src_test() {
# t-secmem and t-sexp need mlock which requires extra privileges; nspawn
# at least disallows that by default.
local -x GCRYPT_IN_ASAN_TEST=1
+ # Avoid running (very) expensive bench-slope test. On hppa, it
+ # takes at least 7 hours.
+ local -x GCRYPT_NO_BENCHMARKS=1
default
}
diff --git a/dev-libs/libgcrypt/libgcrypt-1.10.3-r1.ebuild b/dev-libs/libgcrypt/libgcrypt-1.10.3-r1.ebuild
index ec0db5a77c6b..c651cc767b8c 100644
--- a/dev-libs/libgcrypt/libgcrypt-1.10.3-r1.ebuild
+++ b/dev-libs/libgcrypt/libgcrypt-1.10.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -165,6 +165,9 @@ multilib_src_test() {
# t-secmem and t-sexp need mlock which requires extra privileges; nspawn
# at least disallows that by default.
local -x GCRYPT_IN_ASAN_TEST=1
+ # Avoid running (very) expensive bench-slope test. On hppa, it
+ # takes at least 7 hours.
+ local -x GCRYPT_NO_BENCHMARKS=1
default
}
diff --git a/dev-libs/libgcrypt/libgcrypt-1.10.3-r2.ebuild b/dev-libs/libgcrypt/libgcrypt-1.10.3-r2.ebuild
index 07596861dd7d..c546de3cf23b 100644
--- a/dev-libs/libgcrypt/libgcrypt-1.10.3-r2.ebuild
+++ b/dev-libs/libgcrypt/libgcrypt-1.10.3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -171,6 +171,9 @@ multilib_src_test() {
# t-secmem and t-sexp need mlock which requires extra privileges; nspawn
# at least disallows that by default.
local -x GCRYPT_IN_ASAN_TEST=1
+ # Avoid running (very) expensive bench-slope test. On hppa, it
+ # takes at least 7 hours.
+ local -x GCRYPT_NO_BENCHMARKS=1
default
}
diff --git a/dev-libs/libgcrypt/libgcrypt-1.11.0-r1.ebuild b/dev-libs/libgcrypt/libgcrypt-1.11.0-r1.ebuild
index e90e50144ed6..45bc4ef0ff04 100644
--- a/dev-libs/libgcrypt/libgcrypt-1.11.0-r1.ebuild
+++ b/dev-libs/libgcrypt/libgcrypt-1.11.0-r1.ebuild
@@ -165,6 +165,9 @@ multilib_src_test() {
# t-secmem and t-sexp need mlock which requires extra privileges; nspawn
# at least disallows that by default.
local -x GCRYPT_IN_ASAN_TEST=1
+ # Avoid running (very) expensive bench-slope test. On hppa, it
+ # takes at least 7 hours.
+ local -x GCRYPT_NO_BENCHMARKS=1
default
}
diff --git a/dev-libs/libgcrypt/libgcrypt-1.11.0-r2.ebuild b/dev-libs/libgcrypt/libgcrypt-1.11.0-r2.ebuild
index 4b77f2ee8add..f1ad04917853 100644
--- a/dev-libs/libgcrypt/libgcrypt-1.11.0-r2.ebuild
+++ b/dev-libs/libgcrypt/libgcrypt-1.11.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -172,6 +172,9 @@ multilib_src_test() {
# t-secmem and t-sexp need mlock which requires extra privileges; nspawn
# at least disallows that by default.
local -x GCRYPT_IN_ASAN_TEST=1
+ # Avoid running (very) expensive bench-slope test. On hppa, it
+ # takes at least 7 hours.
+ local -x GCRYPT_NO_BENCHMARKS=1
default
}
diff --git a/dev-libs/libgcrypt/libgcrypt-1.11.0.ebuild b/dev-libs/libgcrypt/libgcrypt-1.11.0.ebuild
index 77bc6b55e34b..f996a1611e03 100644
--- a/dev-libs/libgcrypt/libgcrypt-1.11.0.ebuild
+++ b/dev-libs/libgcrypt/libgcrypt-1.11.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -164,6 +164,9 @@ multilib_src_test() {
# t-secmem and t-sexp need mlock which requires extra privileges; nspawn
# at least disallows that by default.
local -x GCRYPT_IN_ASAN_TEST=1
+ # Avoid running (very) expensive bench-slope test. On hppa, it
+ # takes at least 7 hours.
+ local -x GCRYPT_NO_BENCHMARKS=1
default
}