emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 6ce2052: Skip filenotify tests on hydra.nixos.org


From: Glenn Morris
Subject: master 6ce2052: Skip filenotify tests on hydra.nixos.org
Date: Sat, 7 Mar 2020 15:17:12 -0500 (EST)

branch: master
commit 6ce20525585cc9c4c865cfdd32b43ab268bb17ec
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    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 a184fab..42d86ee 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.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]