From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MIskKokCuF7YNwAA0tVLHw (envelope-from ) for ; Sun, 10 May 2020 13:32:57 +0000 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 yJ2pDpcCuF4OCgAAbx9fmQ (envelope-from ) for ; Sun, 10 May 2020 13:33:11 +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 EAD9894017B for ; Sun, 10 May 2020 13:33:08 +0000 (UTC) Received: from localhost ([::1]:59574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXm4r-0006zO-O9 for larch@yhetil.org; Sun, 10 May 2020 09:33:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXm4k-0006z7-7J for guix-patches@gnu.org; Sun, 10 May 2020 09:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jXm4j-0004X0-Uh for guix-patches@gnu.org; Sun, 10 May 2020 09:33:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jXm4j-0007Ps-QW for guix-patches@gnu.org; Sun, 10 May 2020 09:33:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41173] [PATCH 2/2] gnu: epiphany: enable tests. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 May 2020 13:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41173 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41173@debbugs.gnu.org Received: via spool by 41173-submit@debbugs.gnu.org id=B41173.158911753728421 (code B ref 41173); Sun, 10 May 2020 13:33:01 +0000 Received: (at 41173) by debbugs.gnu.org; 10 May 2020 13:32:17 +0000 Received: from localhost ([127.0.0.1]:49206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jXm40-0007OK-OW for submit@debbugs.gnu.org; Sun, 10 May 2020 09:32:17 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:29095) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jXm3x-0007O4-W4 for 41173@debbugs.gnu.org; Sun, 10 May 2020 09:32:15 -0400 Received: from localhost.localdomain (194-96-185-81.hdsl.highway.telekom.at [194.96.185.81]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 49KlNW5dSdz1LBN3 for <41173@debbugs.gnu.org>; Sun, 10 May 2020 15:32:11 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 49KlNW5dSdz1LBN3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1589117531; bh=4SgJRgUzNImh5r/0pfNHcLwPTMcniSSxxMmbK9DCIas=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XvJM1rJPquM0uxzPsnipKf3vvg23qGEnvJxLBinjqXgHEpyg2PSZQsba5Ey02u86C G19Q82QO+11J3OSAf9QmNt39l2Zd3z0jRFHn14/h2M7PtOUCVQk14bzK5LlVic5ddp m2aheHLLpd0rAZ2pd5zZgnqAbOpNeh/8c+J5KpaE= From: Leo Prikler Date: Sun, 10 May 2020 15:31:57 +0200 Message-Id: <20200510133157.8950-2-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200510133157.8950-1-leo.prikler@student.tugraz.at> References: <20200510133157.8950-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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" X-Scanner: scn0 X-Spam-Score: 5.09 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=tugraz.at header.s=mailrelay header.b=XvJM1rJP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [5.09 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.53890818170949]; DWL_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; R_MISSING_CHARSET(2.50)[]; TO_DN_NONE(0.00)[]; BROKEN_CONTENT_TYPE(1.50)[]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.08), country: US(-0.00), ip: 209.51.188.17(-0.54)]; R_DKIM_REJECT(1.00)[tugraz.at:s=mailrelay]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; DKIM_TRACE(0.00)[tugraz.at:-]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[leo.prikler@student.tugraz.at,guix-patches-bounces@gnu.org]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[194.96.185.81:received]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[41173@debbugs.gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; MID_CONTAINS_FROM(1.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[student.tugraz.at : SPF not aligned (relaxed),none] X-TUID: SM+x/Ffeue4U * gnu/packages/gnome.scm (epiphany)[arguments]<#:tests?>: Drop it. <#:phases>: Add disable-failing-tests and pre-check. [inputs]: Add xorg-server-for-tests. --- gnu/packages/gnome.scm | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 6ff1e6772d..9eee85227d 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5410,13 +5410,7 @@ a secret password store, an adblocker, and a modern UI.") (build-system meson-build-system) (arguments - ;; FIXME: tests run under Xvfb, but fail with: - ;; /src/bookmarks/ephy-bookmarks/create: - ;; ** (test-ephy-bookmarks:19591): WARNING **: Unable to start Zeroconf - ;; subsystem - ;; FAIL - '(#:tests? #f - #:glib-or-gtk? #t + '(#:glib-or-gtk? #t #:phases (modify-phases %standard-phases (add-after 'unpack 'skip-gtk-update-icon-cache @@ -5424,6 +5418,21 @@ a secret password store, an adblocker, and a modern UI.") (lambda _ (substitute* "post_install.py" (("gtk-update-icon-cache") "true")) + #t)) + (add-after 'unpack 'disable-failing-tests + (lambda _ + (substitute* "tests/meson.build" + ;; embed_shell fails, because webkitgtk apparently no longer supports + ;; overriding the ftp schema + ;; web_app_utils fails due to missing network access + (("(embed_shell|web_app_utils)_test,") + "find_program('sh'), args: ['-c', 'exit 77'],")) + #t)) + (add-before 'check 'pre-check + (lambda _ + ;; Tests require a running X server. + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1") #t))) #:configure-flags ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component. @@ -5437,7 +5446,8 @@ a secret password store, an adblocker, and a modern UI.") ("intltool" ,intltool) ("itstool" ,itstool) ("pkg-config" ,pkg-config) - ("xmllint" ,libxml2))) + ("xmllint" ,libxml2) + ("xorg-server" ,xorg-server-for-tests))) (inputs `(("avahi" ,avahi) ("gcr" ,gcr) -- 2.26.2