]> git.eshelyaron.com Git - emacs.git/commitdiff
Mark some filenotify tests unstable on emba
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 3 Jan 2019 17:55:11 +0000 (18:55 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 3 Jan 2019 17:55:11 +0000 (18:55 +0100)
* .gitlab-ci.yml (test): Add EMACS_EMBA_CI variable.

* test/lisp/filenotify-tests.el (file-notify-test03-events)
(file-notify-test05-file-validity)
(file-notify-test06-dir-validity)
(file-notify-test07-many-events)
(file-notify-test09-watched-file-in-watched-dir): Mark them as
:unstable on emba.

.gitlab-ci.yml
test/lisp/filenotify-tests.el

index af573affc93ca9f50c2882f81ef715c6ab9c6dbe..ff51c20726bc33ce645f08bb0066a6832cffd108 100644 (file)
@@ -35,6 +35,8 @@ stages:
 
 test:
   stage: test
+  variables:
+    EMACS_EMBA_CI: 1
   script:
     - ./autogen.sh autoconf
     - ./configure --without-makeinfo
index 028307915421c85ae1c9a11a3036db4e72e55dcc..d4e65af418693276a36ce024abe09f81fc9ed16d 100644 (file)
@@ -588,6 +588,7 @@ delivered."
 
 (ert-deftest file-notify-test03-events ()
   "Check file creation/change/removal notifications."
+  :tags (if (getenv "EMACS_EMBA_CI") '(:unstable))
   (skip-unless (file-notify--test-local-enabled))
 
   (unwind-protect
@@ -945,6 +946,7 @@ delivered."
 
 (ert-deftest file-notify-test05-file-validity ()
   "Check `file-notify-valid-p' for files."
+  :tags (if (getenv "EMACS_EMBA_CI") '(:unstable))
   (skip-unless (file-notify--test-local-enabled))
 
   (unwind-protect
@@ -1057,6 +1059,7 @@ delivered."
 
 (ert-deftest file-notify-test06-dir-validity ()
   "Check `file-notify-valid-p' for directories."
+  :tags (if (getenv "EMACS_EMBA_CI") '(:unstable))
   (skip-unless (file-notify--test-local-enabled))
 
   (unwind-protect
@@ -1115,7 +1118,8 @@ delivered."
 
 (ert-deftest file-notify-test07-many-events ()
   "Check that events are not dropped."
-  :tags '(:expensive-test)
+  :tags (if (getenv "EMACS_EMBA_CI")
+            '(:expensive-test :unstable) '(:expensive-test))
   (skip-unless (file-notify--test-local-enabled))
 
   (should
@@ -1274,7 +1278,8 @@ descriptors that were issued when registering the watches.  This
 test caters for the situation in bug#22736 where the callback for
 the directory received events for the file with the descriptor of
 the file watch."
-  :tags '(:expensive-test)
+  :tags (if (getenv "EMACS_EMBA_CI")
+            '(:expensive-test :unstable) '(:expensive-test))
   (skip-unless (file-notify--test-local-enabled))
 
   ;; A directory to be watched.