From 842a5d95873a773644c01e5fddddff66cc7a60ae Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 9 Sep 2022 11:13:37 +0100 Subject: libgcrypt: disable bench-slope test case (From OE-Core rev: 85bea6d2b4d54564ae5ba671dfb5b533ce8ab7a8) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../libgcrypt/files/no-bench-slope.patch | 20 ++++++++++++++++++++ meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb | 1 + 2 files changed, 21 insertions(+) create mode 100644 meta/recipes-support/libgcrypt/files/no-bench-slope.patch diff --git a/meta/recipes-support/libgcrypt/files/no-bench-slope.patch b/meta/recipes-support/libgcrypt/files/no-bench-slope.patch new file mode 100644 index 0000000000..8de3c6713b --- /dev/null +++ b/meta/recipes-support/libgcrypt/files/no-bench-slope.patch @@ -0,0 +1,20 @@ +The bench-slope test appears to be aborting fairly frequently, which causes +failures on the autobuilder. + +Until this has been root-caused, disable the test. + +Upstream-Status: Inappropriate +Signed-off-by: Ross Burton + +diff --git a/tests/testdrv.c b/tests/testdrv.c +index 0ccde326..d3455186 100644 +--- a/tests/testdrv.c ++++ b/tests/testdrv.c +@@ -77,7 +77,6 @@ static struct { + { "t-x448" }, + { "t-ed448" }, + { "benchmark" }, +- { "bench-slope" }, + { "hashtest-256g", "hashtest", "--gigs 256 SHA1 SHA256 SHA512 SM3", + LONG_RUNNING }, + { NULL } diff --git a/meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb b/meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb index b0d88de3aa..bf9d7cbd10 100644 --- a/meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb +++ b/meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb @@ -24,6 +24,7 @@ SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.bz2 \ file://0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch \ file://0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch \ file://no-native-gpg-error.patch \ + file://no-bench-slope.patch \ file://run-ptest \ " SRC_URI[sha256sum] = "ef14ae546b0084cd84259f61a55e07a38c3b53afc0f546bffcef2f01baffe9de" -- cgit v1.2.3-54-g00ecf