]> git.eshelyaron.com Git - emacs.git/commitdiff
Skip filenotify tests on hydra.nixos.org
authorGlenn Morris <rgm@gnu.org>
Sat, 7 Mar 2020 20:16:44 +0000 (12:16 -0800)
committerGlenn Morris <rgm@gnu.org>
Sat, 7 Mar 2020 20:17:01 +0000 (12:17 -0800)
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

index a184fabb9fff061791548aa71cf27faef67fc6e5..42d86ee15389cac12a860bea43b46137863f55ea 100644 (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.")