unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: luishgh <luishenriquegh2701@gmail.com>
To: 55466@debbugs.gnu.org
Cc: luishgh <51053603+luishgh@users.noreply.github.com>
Subject: [bug#55466] [PATCH 2/2] gnu: emacs-explain-pause-mode: Fix failing tests.
Date: Mon, 16 May 2022 20:49:12 -0300	[thread overview]
Message-ID: <20220516234912.25005-2-luishenriquegh2701@gmail.com> (raw)
In-Reply-To: <20220516234912.25005-1-luishenriquegh2701@gmail.com>

From: luishgh <51053603+luishgh@users.noreply.github.com>

* gnu/packages/emacs-xyz.scm (emacs-explain-pause-mode): Fix failing tests.
---
 gnu/packages/emacs-xyz.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 590330ac4f..8fc1d38193 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4709,7 +4709,7 @@ (define-public emacs-explain-pause-mode
         (revision "0"))
     (package
       (name "emacs-explain-pause-mode")
-      (version (git-version "0.1" revision commit))
+      (version (git-version "0.2" revision commit))
       (source
        (origin
          (method git-fetch)
@@ -4724,6 +4724,13 @@ (define-public emacs-explain-pause-mode
        (list emacs-buttercup))
       (arguments
        '(#:tests? #t
+         #:phases
+         (modify-phases %standard-phases
+           ;; This causes the byte-compilation before unit-tests to fail
+           (add-after 'unpack 'remove-error-on-warn
+             (lambda _
+               (substitute* "Makefile"
+                 (("--eval '\\(setq byte-compile-error-on-warn t\\)'") "")))))
          ;; Don't run case-tests as they will fail to create sockets because
          ;; the path is too long
          #:test-command '("make" "byte-compile" "unit-tests")
-- 
2.36.0





  reply	other threads:[~2022-05-16 23:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-16 23:45 [bug#55466] [PATCH 0/2] Fix emacs packages failing to build luishgh
2022-05-16 23:45 ` [bug#55467] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98 luishgh
2022-05-16 23:50   ` [bug#55467] Apologies Luis Henrique Gomes Higino
2022-05-17  7:19   ` [bug#55467] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98 Nicolas Goaziou
2022-05-16 23:45 ` [bug#55468] [PATCH 2/2] gnu: emacs-explain-pause-mode: Fix failing tests luishgh
2022-05-17  7:19   ` Nicolas Goaziou
2022-05-16 23:49 ` [bug#55466] [PATCH 1/2] gnu: emacs-racer: Update to 1e63e98 luishgh
2022-05-16 23:49   ` luishgh [this message]
2022-05-17  1:48 ` [bug#55466] [PATCH v2 " Luis Henrique Gomes Higino
2022-05-17  1:48   ` [bug#55466] [PATCH v2 2/2] gnu: emacs-explain-pause-mode: Fix failing tests Luis Henrique Gomes Higino
2022-05-17  7:17     ` Nicolas Goaziou
2022-05-17 14:38       ` Luis Henrique Gomes Higino
2022-05-17 20:02         ` Nicolas Goaziou
2022-05-17 20:24           ` Luis Henrique Gomes Higino
2022-05-17  7:16   ` [bug#55466] [PATCH v2 1/2] gnu: emacs-racer: Update to 1e63e98 Nicolas Goaziou
2022-05-17  7:18 ` bug#55466: [PATCH 0/2] Fix emacs packages failing to build Nicolas Goaziou

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20220516234912.25005-2-luishenriquegh2701@gmail.com \
    --to=luishenriquegh2701@gmail.com \
    --cc=51053603+luishgh@users.noreply.github.com \
    --cc=55466@debbugs.gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).