summaryrefslogtreecommitdiff
path: root/test/lisp/filenotify-tests.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2020-03-07 12:16:44 -0800
committerGlenn Morris <rgm@gnu.org>2020-03-07 12:17:01 -0800
commit6ce20525585cc9c4c865cfdd32b43ab268bb17ec (patch)
tree6f55fa664aa588d0ab4891d1158463ba1c93b4c5 /test/lisp/filenotify-tests.el
parent5d4cf1fef85bc24bc4cd9705ebb14150263ad707 (diff)
downloademacs-6ce20525585cc9c4c865cfdd32b43ab268bb17ec.tar.gz
emacs-6ce20525585cc9c4c865cfdd32b43ab268bb17ec.tar.bz2
emacs-6ce20525585cc9c4c865cfdd32b43ab268bb17ec.zip
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.
Diffstat (limited to 'test/lisp/filenotify-tests.el')
-rw-r--r--test/lisp/filenotify-tests.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el
index a184fabb9ff..42d86ee1538 100644
--- a/test/lisp/filenotify-tests.el
+++ b/test/lisp/filenotify-tests.el
@@ -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.")