From 6ce20525585cc9c4c865cfdd32b43ab268bb17ec Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 7 Mar 2020 12:16:44 -0800 Subject: [PATCH] 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. --- test/lisp/filenotify-tests.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.") -- 2.39.2