diff options
| author | Ken Brown | 2023-08-19 14:18:57 -0400 |
|---|---|---|
| committer | Ken Brown | 2023-08-19 14:21:34 -0400 |
| commit | f58d01e01e095b18a9c64c0bab3acd79fd4ba96f (patch) | |
| tree | f6b4fa70188c7603fbf874d87eef8a9b906c4897 /test/src | |
| parent | 44697457c6048464a68b6d58a1c4cf967fd5be06 (diff) | |
| download | emacs-f58d01e01e095b18a9c64c0bab3acd79fd4ba96f.tar.gz emacs-f58d01e01e095b18a9c64c0bab3acd79fd4ba96f.zip | |
Skip hanging tests on Cygwin (bug#65325)
* test/lisp/server-tests.el (server-tests/can-create-frames-p):
Define to be nil on Cygwin unless Emacs has at least one of the
features gfilenotify, dbus, or threads. This causes three tests
to be skipped.
* test/src/keyboard-tests.el (keyboard-unread-command-events):
Skip on Cygwin unless Emacs has at least one of the features
gfilenotify, dbus, or threads.
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/keyboard-tests.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/src/keyboard-tests.el b/test/src/keyboard-tests.el index 3393c1d9018..bbb9c19e2e7 100644 --- a/test/src/keyboard-tests.el +++ b/test/src/keyboard-tests.el | |||
| @@ -23,6 +23,11 @@ | |||
| 23 | 23 | ||
| 24 | (ert-deftest keyboard-unread-command-events () | 24 | (ert-deftest keyboard-unread-command-events () |
| 25 | "Test `unread-command-events'." | 25 | "Test `unread-command-events'." |
| 26 | ;; Avoid hang on Cygwin; see bug#65325. | ||
| 27 | (skip-unless (or (not (eq system-type 'cygwin)) | ||
| 28 | (featurep 'gfilenotify) | ||
| 29 | (featurep 'dbus) | ||
| 30 | (featurep 'threads))) | ||
| 26 | (let ((unread-command-events nil)) | 31 | (let ((unread-command-events nil)) |
| 27 | (should (equal (progn (push ?\C-a unread-command-events) | 32 | (should (equal (progn (push ?\C-a unread-command-events) |
| 28 | (read-event nil nil 1)) | 33 | (read-event nil nil 1)) |