From unknown Sun Jun 22 11:47:24 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#37855] [PATCH] gnu: guix-data-service: Enable build time tests. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Oct 2019 17:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37855 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37855@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15716797521464 (code B ref -1); Mon, 21 Oct 2019 17:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Oct 2019 17:42:32 +0000 Received: from localhost ([127.0.0.1]:57798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMbhP-0000NY-VA for submit@debbugs.gnu.org; Mon, 21 Oct 2019 13:42:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:38909) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMbhL-0000NK-PI for submit@debbugs.gnu.org; Mon, 21 Oct 2019 13:42:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48240) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMbhK-0003dK-JT for guix-patches@gnu.org; Mon, 21 Oct 2019 13:42:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,UNPARSEABLE_RELAY autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMbhJ-00042E-FD for guix-patches@gnu.org; Mon, 21 Oct 2019 13:42:26 -0400 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:44860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iMbhJ-00041I-A2 for guix-patches@gnu.org; Mon, 21 Oct 2019 13:42:25 -0400 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 14216175F9 for ; Mon, 21 Oct 2019 18:42:24 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 5054e110 for ; Mon, 21 Oct 2019 17:42:23 +0000 (UTC) From: Christopher Baines Date: Mon, 21 Oct 2019 18:42:23 +0100 Message-Id: <20191021174223.28196-1-mail@cbaines.net> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:7e00::f03c:91ff:fe69:8da9 X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Previously the tests were not run, as PostgreSQL wasn't running at build time. Now there's a new target, check-with-tmp-database that uses ephemeralpg to run the tests without relying on an externally [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [2a01:7e00:0:0:f03c:91ff:fe69:8da9 listed in] [zen.spamhaus.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Previously the tests were not run, as PostgreSQL wasn't running at build time. Now there's a new target, check-with-tmp-database that uses ephemeralpg to run the tests without relying on an externally [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [2a01:7e00:0:0:f03c:91ff:fe69:8da9 listed in] [zen.spamhaus.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Previously the tests were not run, as PostgreSQL wasn't running at build time. Now there's a new target, check-with-tmp-database that uses ephemer= alpg to run the tests without relying on an externally managed PostgreSQL serv= ice. * gnu/packages/web.scm (guix-data-service)[arguments]: Remove #:tests? #f= , and set #:test-target to "check-with-tmp-database". [native-inputs]: Add ephemeralpg. --- gnu/packages/web.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 5487eb2e71..a91059f73d 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -4044,11 +4044,11 @@ CDF, Atom 0.3, and Atom 1.0 feeds.") "0awfvps7k9bpg3gpgc93y401g7pjabx7mr9960vigad8vddhixqi"= )))) (build-system gnu-build-system) (arguments - '(#:tests? #f ; TODO Tests require PostgreSQL - #:modules ((guix build utils) + '(#:modules ((guix build utils) (guix build gnu-build-system) (ice-9 rdelim) (ice-9 popen)) + #:test-target "check-with-tmp-database" #:phases (modify-phases %standard-phases (add-after 'set-paths 'set-GUIX_ENVIRONMENT @@ -4106,6 +4106,7 @@ CDF, Atom 0.3, and Atom 1.0 feeds.") `(("guile" ,guile-2.2) ("autoconf" ,autoconf) ("automake" ,automake) + ("ephemeralpg" ,ephemeralpg) ("emacs-with-modules" ,(directory-union "emacs-union" (list emacs-no-x --=20 2.23.0 From unknown Sun Jun 22 11:47:24 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#37855] [PATCH] gnu: guix-data-service: Enable build time tests. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 22 Oct 2019 16:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37855 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 37855@debbugs.gnu.org Received: via spool by 37855-submit@debbugs.gnu.org id=B37855.157176103429102 (code B ref 37855); Tue, 22 Oct 2019 16:18:01 +0000 Received: (at 37855) by debbugs.gnu.org; 22 Oct 2019 16:17:14 +0000 Received: from localhost ([127.0.0.1]:60376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMwqP-0007ZJ-SP for submit@debbugs.gnu.org; Tue, 22 Oct 2019 12:17:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMwqL-0007Z1-KG for 37855@debbugs.gnu.org; Tue, 22 Oct 2019 12:17:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iMwqG-0005IB-B1; Tue, 22 Oct 2019 12:17:04 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=39596 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iMwqF-0003RY-I3; Tue, 22 Oct 2019 12:17:03 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20191021174223.28196-1-mail@cbaines.net> Date: Tue, 22 Oct 2019 18:17:01 +0200 In-Reply-To: <20191021174223.28196-1-mail@cbaines.net> (Christopher Baines's message of "Mon, 21 Oct 2019 18:42:23 +0100") Message-ID: <87zhhsycua.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Christopher Baines skribis: > Previously the tests were not run, as PostgreSQL wasn't running at build > time. Now there's a new target, check-with-tmp-database that uses ephemer= alpg > to run the tests without relying on an externally managed PostgreSQL serv= ice. > > * gnu/packages/web.scm (guix-data-service)[arguments]: Remove #:tests? #f= , and > set #:test-target to "check-with-tmp-database". > [native-inputs]: Add ephemeralpg. Nice, LGTM! I wonder: can=E2=80=99t you just have =E2=80=9Cmake check=E2=80=9D do this,= or do you want to have =E2=80=9Cmake check=E2=80=9D talk to a real database instead? (For the Guix test suite, =E2=80=98test-env=E2=80=99 spawns a daemon with a= temporary store for test purposes; I wonder if the situation is comparable here.) Thanks, Ludo=E2=80=99. From unknown Sun Jun 22 11:47:24 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Christopher Baines Subject: bug#37855: closed (Re: [bug#37855] [PATCH] gnu: guix-data-service: Enable build time tests.) Message-ID: References: <874l00qvpr.fsf@cbaines.net> <20191021174223.28196-1-mail@cbaines.net> X-Gnu-PR-Message: they-closed 37855 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 37855@debbugs.gnu.org Date: Tue, 22 Oct 2019 22:09:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1571782142-29460-1" This is a multi-part message in MIME format... ------------=_1571782142-29460-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #37855: [PATCH] gnu: guix-data-service: Enable build time tests. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 37855@debbugs.gnu.org. --=20 37855: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D37855 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1571782142-29460-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 37855-done) by debbugs.gnu.org; 22 Oct 2019 22:08:53 +0000 Received: from localhost ([127.0.0.1]:60586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iN2Kj-0007eq-9M for submit@debbugs.gnu.org; Tue, 22 Oct 2019 18:08:53 -0400 Received: from mira.cbaines.net ([212.71.252.8]:58002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iN2Kh-0007eh-Dq for 37855-done@debbugs.gnu.org; Tue, 22 Oct 2019 18:08:52 -0400 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 86BB1172E4; Tue, 22 Oct 2019 23:08:50 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id a2b49ca6; Tue, 22 Oct 2019 22:08:50 +0000 (UTC) References: <20191021174223.28196-1-mail@cbaines.net> <87zhhsycua.fsf@gnu.org> User-agent: mu4e 1.2.0; emacs 26.3 From: Christopher Baines To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#37855] [PATCH] gnu: guix-data-service: Enable build time tests. In-reply-to: <87zhhsycua.fsf@gnu.org> Date: Tue, 22 Oct 2019 23:08:48 +0100 Message-ID: <874l00qvpr.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 37855-done Cc: 37855-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi, > > Christopher Baines skribis: > >> Previously the tests were not run, as PostgreSQL wasn't running at build >> time. Now there's a new target, check-with-tmp-database that uses epheme= ralpg >> to run the tests without relying on an externally managed PostgreSQL ser= vice. >> >> * gnu/packages/web.scm (guix-data-service)[arguments]: Remove #:tests? #= f, and >> set #:test-target to "check-with-tmp-database". >> [native-inputs]: Add ephemeralpg. > > Nice, LGTM! Great, I've pushed this now as 353f5f7aa7ea575f9f04d3a0b277bbb8012b942d. > I wonder: can=E2=80=99t you just have =E2=80=9Cmake check=E2=80=9D do thi= s, or do you want to > have =E2=80=9Cmake check=E2=80=9D talk to a real database instead? It's mostly a new target as I already had "make check" just run the tests, but yeah, it might be more useful for "make check" to setup an empty database, then run the tests. I'm not quite sure yet. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl2vffBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xfs4w//RfJPmZncbmcSqct9h1uLUzeQ0u/0ciewYU23DPslnxQo0a9XOZ2jO7i9 toqZPoPsMSMvZXyhljg4lawyp0yav9VdN7JTrbrVPFCqaJvTJFHfqVuHQfhjtmzq ltyvpPPS56zB/NLbfP4acPCRX6iLUEogZoc/N27IPOll9TDfoJh6Y14MVBgTG001 YUJUHE4c6/E75nKwJyDby3vhQef0o+X1JiJZOD1UJXGVl23U5ZGkb3GZJml4RvdU j8eZ0iADfwzaxZfEAmMTA6hWHDaGD2ZfCmyNRkWWvenrJpXSN6BTbMswxxa6DSX4 d/CwMBTNtyC7PqVO3s4mkGB4nBY1P1Vi34hn2ubcft2nXze5rxrJOgfejGznreCD //Az6KwaSA64FoCdPjFZycxo5fAVpo+k9U5x6CHDtNWpSBKPh07OLvuHkhGbZSOM IJSf9rsJEChgdGV9YgLPvwukgS2FY325hjJ4vjrpuXbqHU6JuS0XHv3zUEpbdhL9 RtBHZy47pmbACLethVm1GgPDVX82BVMRT6+9lpCd1zSQpBBkBdzGL16WDc5KWISI uuaoyFlqiliZV5ohxawp+hWBs1BDMDrSroyCkdl17D0cFfVZdN25HxHO+WMmt55P B+XAw/iB7LBNbHGF1ihs+jeQIPKoZRAFXGGNC5koY9HxjNQH7tY= =ecW1 -----END PGP SIGNATURE----- --=-=-=-- ------------=_1571782142-29460-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Oct 2019 17:42:32 +0000 Received: from localhost ([127.0.0.1]:57798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMbhP-0000NY-VA for submit@debbugs.gnu.org; Mon, 21 Oct 2019 13:42:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:38909) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMbhL-0000NK-PI for submit@debbugs.gnu.org; Mon, 21 Oct 2019 13:42:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48240) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMbhK-0003dK-JT for guix-patches@gnu.org; Mon, 21 Oct 2019 13:42:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,UNPARSEABLE_RELAY autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMbhJ-00042E-FD for guix-patches@gnu.org; Mon, 21 Oct 2019 13:42:26 -0400 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:44860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iMbhJ-00041I-A2 for guix-patches@gnu.org; Mon, 21 Oct 2019 13:42:25 -0400 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 14216175F9 for ; Mon, 21 Oct 2019 18:42:24 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 5054e110 for ; Mon, 21 Oct 2019 17:42:23 +0000 (UTC) From: Christopher Baines To: guix-patches@gnu.org Subject: [PATCH] gnu: guix-data-service: Enable build time tests. Date: Mon, 21 Oct 2019 18:42:23 +0100 Message-Id: <20191021174223.28196-1-mail@cbaines.net> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:7e00::f03c:91ff:fe69:8da9 X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Previously the tests were not run, as PostgreSQL wasn't running at build time. Now there's a new target, check-with-tmp-database that uses ephemeralpg to run the tests without relying on an externally [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [2a01:7e00:0:0:f03c:91ff:fe69:8da9 listed in] [zen.spamhaus.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Previously the tests were not run, as PostgreSQL wasn't running at build time. Now there's a new target, check-with-tmp-database that uses ephemeralpg to run the tests without relying on an externally [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [2a01:7e00:0:0:f03c:91ff:fe69:8da9 listed in] [zen.spamhaus.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Previously the tests were not run, as PostgreSQL wasn't running at build time. Now there's a new target, check-with-tmp-database that uses ephemer= alpg to run the tests without relying on an externally managed PostgreSQL serv= ice. * gnu/packages/web.scm (guix-data-service)[arguments]: Remove #:tests? #f= , and set #:test-target to "check-with-tmp-database". [native-inputs]: Add ephemeralpg. --- gnu/packages/web.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 5487eb2e71..a91059f73d 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -4044,11 +4044,11 @@ CDF, Atom 0.3, and Atom 1.0 feeds.") "0awfvps7k9bpg3gpgc93y401g7pjabx7mr9960vigad8vddhixqi"= )))) (build-system gnu-build-system) (arguments - '(#:tests? #f ; TODO Tests require PostgreSQL - #:modules ((guix build utils) + '(#:modules ((guix build utils) (guix build gnu-build-system) (ice-9 rdelim) (ice-9 popen)) + #:test-target "check-with-tmp-database" #:phases (modify-phases %standard-phases (add-after 'set-paths 'set-GUIX_ENVIRONMENT @@ -4106,6 +4106,7 @@ CDF, Atom 0.3, and Atom 1.0 feeds.") `(("guile" ,guile-2.2) ("autoconf" ,autoconf) ("automake" ,automake) + ("ephemeralpg" ,ephemeralpg) ("emacs-with-modules" ,(directory-union "emacs-union" (list emacs-no-x --=20 2.23.0 ------------=_1571782142-29460-1--