gnu: emacs-lispy: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-lispy)[#:phases]: Rename ‘remove-failing-test’ to ‘fix-tests’. Adjust to new failures with Emacs 29.
This commit is contained in:
parent
74873c5746
commit
187f642998
1 changed files with 7 additions and 2 deletions
|
@ -12753,11 +12753,16 @@ navigate code in a tree-like fashion.")
|
||||||
(add-before 'check 'make-test-writable
|
(add-before 'check 'make-test-writable
|
||||||
(lambda _
|
(lambda _
|
||||||
(make-file-writable "lispy-test.el")))
|
(make-file-writable "lispy-test.el")))
|
||||||
(add-before 'check 'remove-failing-test
|
(add-before 'check 'fix-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
|
(ert-number-tests "lispy-test.el" "lispy-outline-add")
|
||||||
|
(ert-number-tests "lispy-test.el" "lispy-ace-subword")
|
||||||
(emacs-batch-edit-file "lispy-test.el"
|
(emacs-batch-edit-file "lispy-test.el"
|
||||||
`(progn
|
`(progn
|
||||||
(dolist (test '("lispy-eval-python-str" "lispy--clojure-dot-object"))
|
(dolist (test '("lispy-eval-python-str"
|
||||||
|
"lispy-outline-add-0"
|
||||||
|
"lispy--clojure-dot-object"
|
||||||
|
"lispy--pretty-args"))
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(re-search-forward
|
(re-search-forward
|
||||||
(concat "ert-deftest " test))
|
(concat "ert-deftest " test))
|
||||||
|
|
Reference in a new issue