emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 641350b: More adaptations in file-notify-tests.el


From: Eli Zaretskii
Subject: [Emacs-diffs] master 641350b: More adaptations in file-notify-tests.el
Date: Wed, 16 Sep 2015 18:39:10 +0000

branch: master
commit 641350b2fd23e47e7f9c3cc02dda04576fa10df7
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    More adaptations in file-notify-tests.el
    
    * test/automated/file-notify-tests.el
    (file-notify-test05-dir-validity): Skip for w32notify in
    batch-mode.  (Bug#21432)
---
 test/automated/file-notify-tests.el |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/test/automated/file-notify-tests.el 
b/test/automated/file-notify-tests.el
index 848225d..dfc3244 100644
--- a/test/automated/file-notify-tests.el
+++ b/test/automated/file-notify-tests.el
@@ -411,6 +411,9 @@ Don't wait longer than TIMEOUT seconds for the events to be 
delivered."
 (ert-deftest file-notify-test05-dir-validity ()
   "Check `file-notify-valid-p' for directories."
   (skip-unless (file-notify--test-local-enabled))
+  ;; The batch-mode operation of w32notify is fragile (there's no
+  ;; input threads to send the message to).
+  (skip-unless (not (and noninteractive (eq file-notify--library 'w32notify))))
   (unwind-protect
       (progn
         (setq file-notify--test-tmpfile (file-name-as-directory



reply via email to

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