diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-11-07 22:32:27 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-11-07 22:32:27 +0100 |
commit | d3b022b869134739d16bd0ef850665f4c4b956b9 (patch) | |
tree | 9ce7aa08133b1e144a2875e04c3b45b3fc6d18c2 /gnu/packages/emacs-xyz.scm | |
parent | f9000450b5c881b97a3d507372c19ff366e788ca (diff) | |
download | guix-d3b022b869134739d16bd0ef850665f4c4b956b9.tar guix-d3b022b869134739d16bd0ef850665f4c4b956b9.tar.gz |
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>.
Diffstat (limited to 'gnu/packages/emacs-xyz.scm')
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index dfed78e434..a92d81d239 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) |