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
parent
f9000450b5
commit
d3b022b869
|
@ -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)
|
||||
|
|
Reference in New Issue