guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: gnu: glib-networking: Skip failing test.


From: guix-commits
Subject: 03/04: gnu: glib-networking: Skip failing test.
Date: Sat, 31 Jul 2021 17:47:15 -0400 (EDT)

civodul pushed a commit to branch core-updates-frozen
in repository guix.

commit 0a1a1ad213ece9d73380524fd45515da2d4e1ef6
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sat Jul 31 23:42:21 2021 +0200

    gnu: glib-networking: Skip failing test.
    
    * gnu/packages/patches/glib-networking-gnutls-binding.patch: New file.
    * gnu/local.mk (dist_patch_DATA): Add it.
    * gnu/packages/gnome.scm (glib-networking)[source]: Use it.
---
 gnu/local.mk                                        |  1 +
 gnu/packages/gnome.scm                              |  4 +++-
 .../patches/glib-networking-gnutls-binding.patch    | 21 +++++++++++++++++++++
 3 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index acce61d..c3a5e9c 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1100,6 +1100,7 @@ dist_patch_DATA =                                         
\
   %D%/packages/patches/ghostscript-no-header-creationdate.patch \
   %D%/packages/patches/giara-fix-login.patch                      \
   %D%/packages/patches/glib-appinfo-watch.patch                        \
+  %D%/packages/patches/glib-networking-gnutls-binding.patch    \
   %D%/packages/patches/glib-skip-failing-test.patch            \
   %D%/packages/patches/glibc-CVE-2018-11236.patch              \
   %D%/packages/patches/glibc-CVE-2018-11237.patch              \
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 9df739f..fe4e327 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4685,7 +4685,9 @@ library.")
                                   "glib-networking-" version ".tar.xz"))
               (sha256
                (base32
-                "0vlzn8jf4sg90cm8xxr28yf66nhf8qy9dl2m4b8w1cr6mn2mw8qb"))))
+                "0vlzn8jf4sg90cm8xxr28yf66nhf8qy9dl2m4b8w1cr6mn2mw8qb"))
+              (patches
+               (search-patches "glib-networking-gnutls-binding.patch"))))
     (build-system meson-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)
diff --git a/gnu/packages/patches/glib-networking-gnutls-binding.patch 
b/gnu/packages/patches/glib-networking-gnutls-binding.patch
new file mode 100644
index 0000000..91d0743
--- /dev/null
+++ b/gnu/packages/patches/glib-networking-gnutls-binding.patch
@@ -0,0 +1,21 @@
+Skip failing test in 'test_connection_binding_match_tls_unique'
+in 'tls/tests/connection.c' when building glib-networking against
+GnuTLS 3.7.2.  The failure stems from the fact that
+'gnutls_session_channel_binding' returns GNUTLS_E_INVALID_REQUEST
+is known upstream:
+
+  https://gitlab.gnome.org/GNOME/glib-networking/-/issues/164
+
+diff --git a/tls/tests/connection.c b/tls/tests/connection.c
+index 036df04..347c7a4 100644
+--- a/tls/tests/connection.c
++++ b/tls/tests/connection.c
+@@ -3037,8 +3037,6 @@ main (int   argc,
+               setup_connection, test_connection_missing_server_identity, 
teardown_connection);
+   g_test_add ("/tls/" BACKEND "/connection/peer-certificate-notify", 
TestConnection, NULL,
+               setup_connection, test_peer_certificate_notify, 
teardown_connection);
+-  g_test_add ("/tls/" BACKEND "/connection/binding/match-tls-unique", 
TestConnection, NULL,
+-              setup_connection, test_connection_binding_match_tls_unique, 
teardown_connection);
+   g_test_add ("/tls/" BACKEND 
"/connection/binding/match-tls-server-end-point", TestConnection, NULL,
+               setup_connection, 
test_connection_binding_match_tls_server_end_point, teardown_connection);
+   g_test_add ("/tls/" BACKEND "/connection/binding/match-tls-exporter", 
TestConnection, NULL,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]