diff options
author | Zach van Rijn <me@zv.io> | 2023-04-12 00:36:35 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2023-04-12 13:55:50 +0000 |
commit | 62719523f678e26bd9b5e63088be4ad6f3386023 (patch) | |
tree | 7b59dd04de9003130a4986249b8b00a9105ac930 /user/mbedtls | |
parent | b13f6fb3772c2b9e2b146f51bc70046493c9d5f9 (diff) | |
download | packages-62719523f678e26bd9b5e63088be4ad6f3386023.tar.gz packages-62719523f678e26bd9b5e63088be4ad6f3386023.tar.bz2 packages-62719523f678e26bd9b5e63088be4ad6f3386023.tar.xz packages-62719523f678e26bd9b5e63088be4ad6f3386023.zip |
user/mbedtls: disable alignment tests. see #1002.
This test suite was added in:
https://github.com/Mbed-TLS/mbedtls\
/commit/fb5fedcd00726555def8b1d47293e87562db0f86
and indicates that there may not be a regression.
It fails on at least two big-endian platforms, of
which ppc64 and sparc64 were tested.
The test suite may be broken, or alignment.h may be,
and we will need to investigate this further.
Disable the test suite for now.
Diffstat (limited to 'user/mbedtls')
-rw-r--r-- | user/mbedtls/APKBUILD | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/user/mbedtls/APKBUILD b/user/mbedtls/APKBUILD index 5b8bf3a89..2b2751e6f 100644 --- a/user/mbedtls/APKBUILD +++ b/user/mbedtls/APKBUILD @@ -20,6 +20,16 @@ source="mbedtls-$pkgver.tar.gz::https://github.com/ARMmbed/mbedtls/archive/refs/ # - CVE-2022-46392 # - CVE-2022-46393 +prepare() { + default_prepare + + #1002 -- fails on BE platforms (ppc64, sparc64, ...) + rm -v \ + tests/suites/test_suite_alignment.data \ + tests/suites/test_suite_alignment.function \ + ; +} + build() { if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" |