commit:     e6ae95c0515b0a8859df3052d48500473cd6e457
Author:     sin-ack <sin-ack <AT> protonmail <DOT> com>
AuthorDate: Wed Nov 13 00:03:04 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 14:00:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6ae95c0

dev-cpp/mvfst: skip some tests on arm64

These tests segfault in a QEMU chroot.

Signed-off-by: sin-ack <sin-ack <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild 
b/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild
index b920ce229a20..12d43e1df1c3 100644
--- a/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild
+++ b/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild
@@ -47,3 +47,16 @@ src_configure() {
 
        cmake_src_configure
 }
+
+src_test() {
+       if use arm64; then
+               # These tests segfault on arm64.
+               # https://github.com/facebook/mvfst/issues/363
+               CMAKE_SKIP_TESTS=(
+                       QuicClientTransportIntegrationTest.ResetClient
+                       
QuicClientTransportIntegrationTest.TestStatelessResetToken
+               )
+       fi
+
+       cmake_src_test
+}

Reply via email to