guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: emacs-racer: Disable failing tests.


From: guix-commits
Subject: branch master updated: gnu: emacs-racer: Disable failing tests.
Date: Sat, 07 Nov 2020 16:34:19 -0500

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

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new d3b022b  gnu: emacs-racer: Disable failing tests.
d3b022b is described below

commit d3b022b869134739d16bd0ef850665f4c4b956b9
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat Nov 7 22:32:27 2020 +0100

    gnu: emacs-racer: Disable failing tests.
    
    * gnu/packages/emacs-xyz.scm (emacs-racer)[arguments]: Add a phase disabling
    failing tests.
    
    Fixes <https://bugs.gnu.org/43752>.
---
 gnu/packages/emacs-xyz.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index dfed78e..a92d81d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -18589,6 +18589,16 @@ files.  It focuses on highlighting the document to 
improve readability.")
            (lambda _
              (substitute* "Makefile"
                (("\\$\\{CASK\\} exec ") ""))
+             #t))
+         ;; Two tests are failing with Emacs 27, as reported here:
+         ;; <https://github.com/racer-rust/emacs-racer/issues/136>.  Disable
+         ;; them.
+         (add-before 'check 'fix-failing-tests
+           (lambda _
+             (substitute* "test/racer-test.el"
+               (("`Write`") "Write")
+               (("^\\\\\\[`str\\]:.*") "")
+               ((" \\[`str`\\]") " str"))
              #t)))))
     (native-inputs
      `(("emacs-ert-runner" ,emacs-ert-runner)



reply via email to

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