guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: emacs-elisp-refs: Disable test failing on Em


From: guix-commits
Subject: branch master updated: gnu: emacs-elisp-refs: Disable test failing on Emacs 27.1.
Date: Tue, 01 Sep 2020 15:28:08 -0400

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new a73ccef  gnu: emacs-elisp-refs: Disable test failing on Emacs 27.1.
a73ccef is described below

commit a73ccefe315cd16e9d0b31a00bbd61e6cc3042f5
Author: Michael Rohleder <mike@rohleder.de>
AuthorDate: Sun Aug 30 09:50:25 2020 +0200

    gnu: emacs-elisp-refs: Disable test failing on Emacs 27.1.
    
    * gnu/packages/emacs-xyz.scm (emacs-elisp-refs)[arguments]:
    Add phase to disable failing test "elisp-refs-next-match" on emacs27.
    
    Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 gnu/packages/emacs-xyz.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0066d60..c3d9fca 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -14827,7 +14827,17 @@ continue.")
        ("emacs-undercover" ,emacs-undercover)))
     (arguments
      `(#:tests? #t
-       #:test-command '("ert-runner")))
+       #:test-command '("ert-runner")
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'disable-refs-next-match-test
+           ;; Hack to disable the failing test for emacs27
+           ;; https://github.com/Wilfred/elisp-refs/issues/29
+           (lambda _
+             (substitute* "test/unit-test.el"
+               (("ert-deftest elisp-refs-next-match")
+                "defun elisp-refs-next-match"))
+             #t)))))
     (home-page "https://github.com/Wilfred/elisp-refs";)
     (synopsis "Find callers of elisp functions or macros")
     (description "Find references to functions, macros or variables.  Unlike a



reply via email to

[Prev in Thread] Current Thread [Next in Thread]