emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] scratch/albinus d5928da: Instrument filenotify tests


From: Michael Albinus
Subject: [Emacs-diffs] scratch/albinus d5928da: Instrument filenotify tests
Date: Thu, 3 Jan 2019 06:09:53 -0500 (EST)

branch: scratch/albinus
commit d5928dad79d58a54f179c8cd0a17189310bde101
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    Instrument filenotify tests
    
    * .gitlab-ci.yml (test): Run only filenotify-tests.
    
    * test/lisp/filenotify-tests.el (file-notify--test-event-handler):
    Print test messages on EMBA.
---
 .gitlab-ci.yml                | 2 +-
 test/lisp/filenotify-tests.el | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9d713b7..f03270c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,4 +41,4 @@ test:
     - ./autogen.sh autoconf
     - ./configure --without-makeinfo
     - make bootstrap
-    - make check
+    - make -C test filenotify-tests
diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el
index fb268b4..18b755d 100644
--- a/test/lisp/filenotify-tests.el
+++ b/test/lisp/filenotify-tests.el
@@ -516,8 +516,9 @@ and the event to `file-notify--test-events'."
     (unless (string-match
             (regexp-quote ".#")
             (file-notify--event-file-name file-notify--test-event))
-      ;;(message "file-notify--test-event-handler result: %s event: %S"
-               ;;(null (ert-test-failed-p result)) file-notify--test-event)
+      (when (getenv "EMACS_EMBA_CI")
+        (message "file-notify--test-event-handler result: %s event: %S"
+                 (null (ert-test-failed-p result)) file-notify--test-event))
       (setq file-notify--test-events
            (append file-notify--test-events `(,file-notify--test-event))
            file-notify--test-results



reply via email to

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