summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2024-01-07 22:58:07 +0300
committerSam James <sam@gentoo.org>2024-01-14 04:01:12 +0000
commit0d6eeba4f18e29aa111fe08f87b03beeb9291434 (patch)
treec382dbb14bd4536904a155a43b1ffd7ccba2082b /net-libs
parentnet-libs/mbedtls: drop 3.5.0 (diff)
downloadgentoo-0d6eeba4f18e29aa111fe08f87b03beeb9291434.tar.gz
gentoo-0d6eeba4f18e29aa111fe08f87b03beeb9291434.tar.bz2
gentoo-0d6eeba4f18e29aa111fe08f87b03beeb9291434.zip
net-libs/mbedtls: fix testsuite failures
Appears that unittests can't be run in parallel. Closes: https://bugs.gentoo.org/914925 Closes: https://bugs.gentoo.org/718390 Closes: https://bugs.gentoo.org/829861 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/34702 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/mbedtls/mbedtls-2.28.5.ebuild12
-rw-r--r--net-libs/mbedtls/mbedtls-2.28.6.ebuild10
-rw-r--r--net-libs/mbedtls/mbedtls-3.5.1.ebuild10
3 files changed, 9 insertions, 23 deletions
diff --git a/net-libs/mbedtls/mbedtls-2.28.5.ebuild b/net-libs/mbedtls/mbedtls-2.28.5.ebuild
index 2edf0c6ccf69..0ef263d1a1fe 100644
--- a/net-libs/mbedtls/mbedtls-2.28.5.ebuild
+++ b/net-libs/mbedtls/mbedtls-2.28.5.ebuild
@@ -71,16 +71,10 @@ multilib_src_compile() {
}
multilib_src_test() {
- # psa isn't ready yet, it might be in 3.x(?) but certainly not
- # at the moment.
- # bug #718390
- CMAKE_SKIP_TESTS=(
- psa_crypto
- psa_its-suite
- )
-
+ # Disable parallel run, bug #718390
+ # https://github.com/Mbed-TLS/mbedtls/issues/4980
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/library" \
- cmake_src_test
+ cmake_src_test -j1
}
multilib_src_install() {
diff --git a/net-libs/mbedtls/mbedtls-2.28.6.ebuild b/net-libs/mbedtls/mbedtls-2.28.6.ebuild
index e1829c6a942f..f0133d22a389 100644
--- a/net-libs/mbedtls/mbedtls-2.28.6.ebuild
+++ b/net-libs/mbedtls/mbedtls-2.28.6.ebuild
@@ -72,14 +72,10 @@ multilib_src_compile() {
}
multilib_src_test() {
- # Multiple failures in PSA test suite, bug #718390
- CMAKE_SKIP_TESTS=(
- psa_crypto
- psa_its-suite
- )
-
+ # Disable parallel run, bug #718390
+ # https://github.com/Mbed-TLS/mbedtls/issues/4980
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/library" \
- cmake_src_test
+ cmake_src_test -j1
}
multilib_src_install() {
diff --git a/net-libs/mbedtls/mbedtls-3.5.1.ebuild b/net-libs/mbedtls/mbedtls-3.5.1.ebuild
index 8ac4d28d6d05..963a8edbe27c 100644
--- a/net-libs/mbedtls/mbedtls-3.5.1.ebuild
+++ b/net-libs/mbedtls/mbedtls-3.5.1.ebuild
@@ -64,14 +64,10 @@ multilib_src_compile() {
}
multilib_src_test() {
- # Multiple failures in PSA test suite, bug #718390
- CMAKE_SKIP_TESTS=(
- psa_crypto
- psa_its-suite
- )
-
+ # Disable parallel run, bug #718390
+ # https://github.com/Mbed-TLS/mbedtls/issues/4980
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/library" \
- cmake_src_test
+ cmake_src_test -j1
}
multilib_src_install() {