me
/
guix
Archived
1
0
Fork 0

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>.
master
Nicolas Goaziou 2020-11-07 22:32:27 +01:00
parent f9000450b5
commit d3b022b869
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 10 additions and 0 deletions

View File

@ -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)