Skip filenotify tests on hydra.nixos.org

They frequently hang for hours.
* test/lisp/filenotify-tests.el
(file-notify--test-remote-enabled-checked): Default to off on hydra.
This commit is contained in:
Glenn Morris 2020-03-07 12:16:44 -08:00
parent 5d4cf1fef8
commit 6ce2052558

View file

@ -219,7 +219,8 @@ remote case we return always t."
(or file-notify--library
(file-remote-p temporary-file-directory)))
(defvar file-notify--test-remote-enabled-checked nil
(defvar file-notify--test-remote-enabled-checked
(if (getenv "EMACS_HYDRA_CI") '(t . nil))
"Cached result of `file-notify--test-remote-enabled'.
If the function did run, the value is a cons cell, the `cdr'
being the result.")