commit:     bba19e6ae32582093b3931cbdbfaa6b6a796b03e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 16 04:18:14 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 16 04:18:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bba19e6a

net-libs/mbedtls: skip evaluation/development PSA tests

These APIs are not for production use yet.

Bug: https://bugs.gentoo.org/718390
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/mbedtls/mbedtls-2.16.10.ebuild   | 7 +++++++
 net-libs/mbedtls/mbedtls-2.16.11.ebuild   | 7 +++++++
 net-libs/mbedtls/mbedtls-2.26.0.ebuild    | 7 +++++++
 net-libs/mbedtls/mbedtls-2.27.0-r1.ebuild | 7 +++++++
 net-libs/mbedtls/mbedtls-3.0.0.ebuild     | 6 ++++++
 5 files changed, 34 insertions(+)

diff --git a/net-libs/mbedtls/mbedtls-2.16.10.ebuild 
b/net-libs/mbedtls/mbedtls-2.16.10.ebuild
index ce4c7c2ec07..121ba9a98aa 100644
--- a/net-libs/mbedtls/mbedtls-2.16.10.ebuild
+++ b/net-libs/mbedtls/mbedtls-2.16.10.ebuild
@@ -63,6 +63,13 @@ 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
+       local myctestargs=(
+               -E "(psa_crypto|psa_its-suite)"
+       )
+
        LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/library" \
                cmake_src_test
 }

diff --git a/net-libs/mbedtls/mbedtls-2.16.11.ebuild 
b/net-libs/mbedtls/mbedtls-2.16.11.ebuild
index 3aaf46463bb..8ddca1907c0 100644
--- a/net-libs/mbedtls/mbedtls-2.16.11.ebuild
+++ b/net-libs/mbedtls/mbedtls-2.16.11.ebuild
@@ -63,6 +63,13 @@ 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
+       local myctestargs=(
+               -E "(psa_crypto|psa_its-suite)"
+       )
+
        LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/library" \
                cmake_src_test
 }

diff --git a/net-libs/mbedtls/mbedtls-2.26.0.ebuild 
b/net-libs/mbedtls/mbedtls-2.26.0.ebuild
index 6b1ea5194f1..8d77a9e2383 100644
--- a/net-libs/mbedtls/mbedtls-2.26.0.ebuild
+++ b/net-libs/mbedtls/mbedtls-2.26.0.ebuild
@@ -64,6 +64,13 @@ 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
+       local myctestargs=(
+               -E "(psa_crypto|psa_its-suite)"
+       )
+
        LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/library" \
                cmake_src_test
 }

diff --git a/net-libs/mbedtls/mbedtls-2.27.0-r1.ebuild 
b/net-libs/mbedtls/mbedtls-2.27.0-r1.ebuild
index 7681b2953ec..f229acee355 100644
--- a/net-libs/mbedtls/mbedtls-2.27.0-r1.ebuild
+++ b/net-libs/mbedtls/mbedtls-2.27.0-r1.ebuild
@@ -64,6 +64,13 @@ 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
+       local myctestargs=(
+               -E "(psa_crypto|psa_its-suite)"
+       )
+
        LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/library" \
                cmake_src_test
 }

diff --git a/net-libs/mbedtls/mbedtls-3.0.0.ebuild 
b/net-libs/mbedtls/mbedtls-3.0.0.ebuild
index 41a81c85e7d..54ef48f6e4f 100644
--- a/net-libs/mbedtls/mbedtls-3.0.0.ebuild
+++ b/net-libs/mbedtls/mbedtls-3.0.0.ebuild
@@ -60,6 +60,12 @@ multilib_src_compile() {
 }
 
 multilib_src_test() {
+       # psa isn't ready yet, even in 3.0.0.
+       # bug #718390
+       local myctestargs=(
+               -E "(psa_crypto|psa_its-suite)"
+       )
+
        LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/library" \
                cmake_src_test
 }

Reply via email to