]> git.eshelyaron.com Git - emacs.git/commitdiff
Skip unmature file notification tests
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 3 Jun 2024 10:53:04 +0000 (12:53 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 3 Jun 2024 14:33:10 +0000 (16:33 +0200)
* test/lisp/filenotify-tests.el (file-notify--deftest-remote):
Skip with "gio" library.  It is unmature.

(cherry picked from commit 288b0db9682c519a3d7f8fa0c037640997209375)

test/lisp/filenotify-tests.el

index 28f4d5fa18156597a367f5c76e60da8f6d8f5f07..3a3dccfc7b194407eae2e3845f4158a4b6660b48 100644 (file)
@@ -278,6 +278,9 @@ If UNSTABLE is non-nil, the test is tagged as `:unstable'."
            (ert-test (ert-get-test ',test))
             vc-handled-backends)
        (skip-unless (file-notify--test-remote-enabled))
+       ;; These tests do not work for remote gio/GInotifyFileMonitor.
+       ;; Needs further investigation.
+       (skip-when (string-equal (file-notify--test-library) "gio"))
        (tramp-cleanup-connection
        (tramp-dissect-file-name temporary-file-directory) nil 'keep-password)
        (funcall (ert-test-body ert-test)))))