Skip to content

Commit

Permalink
Skip test that hits Emacs 28 bug
Browse files Browse the repository at this point in the history
A recent change in the development version of Emacs 28 has resulted
in un-catchable quit conditions when quitting a minibuffer session
from a kbd macro, which is how the batch-run Ivy test suite emulates
interactive user input.

See issue abo-abo#2906 and https://bugs.gnu.org/48603.

* ivy-test.el (ivy-partial-files): Skip on Emacs 28 for now.
  • Loading branch information
basil-conto committed Aug 18, 2021
1 parent 27ac8f6 commit c1e53c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ivy-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -1136,6 +1136,9 @@ Since `execute-kbd-macro' doesn't pick up a let-bound `default-directory'.")
:dir "/tmp/"))))

(ert-deftest ivy-partial-files ()
;; FIXME: Can't catch `quit' condition.
;; See issue #2906 and https://bugs.gnu.org/48603.
(skip-unless (< emacs-major-version 28))
(when (file-exists-p "/tmp/ivy-partial-test")
(delete-directory "/tmp/ivy-partial-test" t))
(mkdir "/tmp/ivy-partial-test/test1" t)
Expand Down

0 comments on commit c1e53c2

Please sign in to comment.