]> git.eshelyaron.com Git - emacs.git/commitdiff
Instrument filenotify tests
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 3 Jan 2019 11:08:56 +0000 (12:08 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 3 Jan 2019 11:08:56 +0000 (12:08 +0100)
* .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
test/lisp/filenotify-tests.el

index 9d713b77218c892a35748e59e6b9413f1d3cfd48..f03270c59d8b958954ae667f0735dc9a6fd594ae 100644 (file)
@@ -41,4 +41,4 @@ test:
     - ./autogen.sh autoconf
     - ./configure --without-makeinfo
     - make bootstrap
-    - make check
+    - make -C test filenotify-tests
index fb268b451385d5a79102e57138d7eb23aa5462b6..18b755d78998d6dc7561c3cc4783ad3159433e99 100644 (file)
@@ -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