all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: 30968-done@debbugs.gnu.org
Subject: bug#30968: [PATCH] gnu: mu: Fix tests failures triggered by DST.
Date: Wed, 28 Mar 2018 17:14:28 +0200	[thread overview]
Message-ID: <87605gtep7.fsf@gnu.org> (raw)
In-Reply-To: <87bmf9552m.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 27 Mar 2018 22:04:01 -0400")

[-- Attachment #1: Type: text/plain, Size: 443 bytes --]

Hi,

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

> From b6c27eab14b678d12dd4b3b480ea88542bf096e7 Mon Sep 17 00:00:00 2001
> From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
> 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’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 907 bytes --]

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"

  reply	other threads:[~2018-03-28 15:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-28  2:04 [bug#30968] [PATCH] gnu: mu: Fix tests failures triggered by DST Maxim Cournoyer
2018-03-28 15:14 ` Ludovic Courtès [this message]
2018-03-29  0:37   ` Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87605gtep7.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=30968-done@debbugs.gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.