From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1Cn4-0002dZ-5G for guix-patches@gnu.org; Wed, 28 Mar 2018 11:15:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1Cn0-0006Ss-VP for guix-patches@gnu.org; Wed, 28 Mar 2018 11:15:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49616) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f1Cn0-0006Si-SB for guix-patches@gnu.org; Wed, 28 Mar 2018 11:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f1Cn0-0006Pm-M9 for guix-patches@gnu.org; Wed, 28 Mar 2018 11:15:02 -0400 Subject: bug#30968: [PATCH] gnu: mu: Fix tests failures triggered by DST. Resent-To: guix-patches@gnu.org Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87bmf9552m.fsf@gmail.com> Date: Wed, 28 Mar 2018 17:14:28 +0200 In-Reply-To: <87bmf9552m.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 27 Mar 2018 22:04:01 -0400") Message-ID: <87605gtep7.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Maxim Cournoyer Cc: 30968-done@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Maxim Cournoyer skribis: > From b6c27eab14b678d12dd4b3b480ea88542bf096e7 Mon Sep 17 00:00:00 2001 > From: Maxim Cournoyer > Date: Tue, 27 Mar 2018 21:59:24 -0400 > Subject: [PATCH] gnu: mu: Fix tests failures triggered by DST. > > * gnu/packages/mail.scm (mu)[phases]: Add 'fix-date-tests. Well done! Applied with the minor changes below. Thank you, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index dca4ffb9a..3dab1325e 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -620,11 +620,12 @@ security functionality including PGP, S/MIME, SSH, and SSL.") #t)) (add-after 'patch-configure 'fix-date-tests ;; Loosen test tolerances to prevent failures caused by daylight - ;; time saving (DST). See: https://github.com/djcb/mu/issues/1214. + ;; saving time (DST). See: https://github.com/djcb/mu/issues/1214. (lambda _ (substitute* "lib/parser/test-utils.cc" (("\\* 60 \\* 60, 1 },") - "* 60 * 60, 3600 + 1 },")))) + "* 60 * 60, 3600 + 1 },")) + #t)) (add-before 'install 'fix-ffi (lambda* (#:key outputs #:allow-other-keys) (substitute* "guile/mu.scm" --=-=-=--