commit: 0d6eeba4f18e29aa111fe08f87b03beeb9291434 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> AuthorDate: Sun Jan 7 19:58:07 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jan 14 04:01:12 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d6eeba4
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 <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/34702 Signed-off-by: Sam James <sam <AT> gentoo.org> net-libs/mbedtls/mbedtls-2.28.5.ebuild | 12 +++--------- net-libs/mbedtls/mbedtls-2.28.6.ebuild | 10 +++------- net-libs/mbedtls/mbedtls-3.5.1.ebuild | 10 +++------- 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() {