From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aOs/F7aGhmAvyAAAgWs5BA (envelope-from ) for ; Mon, 26 Apr 2021 11:24:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SKTEEraGhmBrUAAAbx9fmQ (envelope-from ) for ; Mon, 26 Apr 2021 09:24:06 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 26D55253FA for ; Mon, 26 Apr 2021 11:24:06 +0200 (CEST) Received: from localhost ([::1]:59718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laxTJ-0000MG-9N for larch@yhetil.org; Mon, 26 Apr 2021 05:24:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laxSJ-0008OQ-Oy for guix-patches@gnu.org; Mon, 26 Apr 2021 05:23:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33023) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1laxSJ-0003Bi-Hm for guix-patches@gnu.org; Mon, 26 Apr 2021 05:23:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1laxSJ-0002aR-Dk for guix-patches@gnu.org; Mon, 26 Apr 2021 05:23:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48028] [PATCH wip-gnome v3 04/10] gnu: libsoup: Simplify adjustment of tests. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 26 Apr 2021 09:23:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48028 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48028@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48028-submit@debbugs.gnu.org id=B48028.16194289469810 (code B ref 48028); Mon, 26 Apr 2021 09:23:03 +0000 Received: (at 48028) by debbugs.gnu.org; 26 Apr 2021 09:22:26 +0000 Received: from localhost ([127.0.0.1]:44550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laxRi-0002Xt-14 for submit@debbugs.gnu.org; Mon, 26 Apr 2021 05:22:26 -0400 Received: from out2.migadu.com ([188.165.223.204]:37826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laxRe-0002X2-QS for 48028@debbugs.gnu.org; Mon, 26 Apr 2021 05:22:23 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1619428941; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RfFoNl2xu8p2mJTLZMUJX3uQhP+9Jgs9o4Qn4PW+4aU=; b=jL2Qz6isiXk6I4ihSyU+KSp37iYOT118XRRmccZWfdt4zZ6tMSNg4oDSJSEj6fB5GJGC/M 9x21JryiJrp5M1q/3vIMKjWxj65ZFeYMVoPG9P9IvsDN6pSmQu3YXUVAFcqvqHTtAOKFdX fA7z7ohtk6v3P6UER9Xc0Q3OE6HKcNLg8ISU2tCp8JnhmQ+KKFQIHAiyNgZIs/Eov9suwH UodE355UujXwmNL4YLkrOvZn1eWbgVzcwx+zQP/HrCa/F0lauxWcHKA+L5ozEjAMqXM9IS 07VymkqFn7VaZ0FcHRtBhfei5k+7HKNW0ssDEQt5YBx2yXcznPkyicXrfaGZSA== Date: Mon, 26 Apr 2021 05:22:09 -0400 Message-Id: <20210426092215.31032-4-rg@raghavgururajan.name> In-Reply-To: <20210426092215.31032-1-rg@raghavgururajan.name> References: <20210426092215.31032-1-rg@raghavgururajan.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Auth-User: rg@raghavgururajan.name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches From: Raghav Gururajan via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 26D55253FA X-Spam-Score: -4.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: kX0nIgvsFzA0 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