[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48028] [PATCH wip-gnome v2 04/10] gnu: libsoup: Simplify adjustment
From: |
Raghav Gururajan |
Subject: |
[bug#48028] [PATCH wip-gnome v2 04/10] gnu: libsoup: Simplify adjustment of tests. |
Date: |
Mon, 26 Apr 2021 05:08:17 -0400 |
Switch from using mutiple C files to single meson.build file.
* gnu/packages/gnome.scm (libsoup)[phases](adjust-tests): Modify.
---
gnu/packages/gnome.scm | 22 ++++++++--------------
1 file changed, 8 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 97cf80c586..c8e7b55f6c 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4927,20 +4927,14 @@ libxml to ease remote use of the RESTful API.")
#t)))
(add-after 'unpack 'adjust-tests
(lambda _
- ;; This test fails due to missing /etc/nsswitch.conf
- ;; in the build environment.
- (substitute* "tests/socket-test.c"
- ((".*/sockets/unconnected.*") ""))
-
- ;; These fail because "subdomain.localhost" does not resolve in
- ;; the build environment.
- (substitute* "tests/hsts-test.c"
- ((".*/hsts/basic.*") "")
- ((".*/hsts/subdomains.*") "")
- ((".*/hsts/superdomain.*") "")
- ((".*/hsts/utf8-address.*") ""))
- (substitute* "tests/hsts-db-test.c"
- ((".*/hsts-db/subdomains.*") ""))
+ (substitute* "tests/meson.build"
+ ;; These fail because "subdomain.localhost" does not resolve in
+ ;; the build environment.
+ (("[ \t]*\\['hsts', true, \\[\\]\\],") "")
+ (("[ \t]*\\['hsts-db', true, \\[\\]\\],") "")
+ ;; This test fails due to missing /etc/nsswitch.conf
+ ;; in the build environment.
+ (("[ \t]*\\['socket', true, \\[\\]\\],") ""))
;; Generate a self-signed certificate that has "localhost" as its
;; 'dnsName'. Failing to do that, and starting with GnuTLS
--
2.31.1
- [bug#48028] [PATCH wip-gnome 5/8] gnu: libsoup: Add missing argument and input., (continued)
[bug#48028] [PATCH wip-gnome 1/8] gnu: gtkmm@2: Remove inheritance from gtkmm@3., Maxime Devos, 2021/04/26
[bug#48028] [PATCH wip-gnome v2 01/10] gnu: gtkmm@2: Remove inheritance from gtkmm@3., Raghav Gururajan, 2021/04/26
[bug#48028] [PATCH wip-gnome v2 05/10] gnu: libsoup: Disable ssl-test., Raghav Gururajan, 2021/04/26
[bug#48028] [PATCH wip-gnome v2 08/10] gnu: libsoup: Update home-page., Raghav Gururajan, 2021/04/26
[bug#48028] [PATCH wip-gnome v2 09/10] gnu: python-pycairo: Update to 1.20.0., Raghav Gururajan, 2021/04/26
[bug#48028] [PATCH wip-gnome v2 10/10] gnu: python-pygobject: Update to 3.40.1., Raghav Gururajan, 2021/04/26
[bug#48028] [PATCH wip-gnome v2 07/10] gnu: libsoup: Propagate glib-networking., Raghav Gururajan, 2021/04/26