1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

Mark some filenotify tests unstable on emba

* .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.
This commit is contained in:
Michael Albinus 2019-01-03 18:55:11 +01:00
parent ecdfb8ef53
commit fe4922cbf0
2 changed files with 9 additions and 2 deletions

View file

@ -35,6 +35,8 @@ stages:
test: test:
stage: test stage: test
variables:
EMACS_EMBA_CI: 1
script: script:
- ./autogen.sh autoconf - ./autogen.sh autoconf
- ./configure --without-makeinfo - ./configure --without-makeinfo

View file

@ -588,6 +588,7 @@ delivered."
(ert-deftest file-notify-test03-events () (ert-deftest file-notify-test03-events ()
"Check file creation/change/removal notifications." "Check file creation/change/removal notifications."
:tags (if (getenv "EMACS_EMBA_CI") '(:unstable))
(skip-unless (file-notify--test-local-enabled)) (skip-unless (file-notify--test-local-enabled))
(unwind-protect (unwind-protect
@ -945,6 +946,7 @@ delivered."
(ert-deftest file-notify-test05-file-validity () (ert-deftest file-notify-test05-file-validity ()
"Check `file-notify-valid-p' for files." "Check `file-notify-valid-p' for files."
:tags (if (getenv "EMACS_EMBA_CI") '(:unstable))
(skip-unless (file-notify--test-local-enabled)) (skip-unless (file-notify--test-local-enabled))
(unwind-protect (unwind-protect
@ -1057,6 +1059,7 @@ delivered."
(ert-deftest file-notify-test06-dir-validity () (ert-deftest file-notify-test06-dir-validity ()
"Check `file-notify-valid-p' for directories." "Check `file-notify-valid-p' for directories."
:tags (if (getenv "EMACS_EMBA_CI") '(:unstable))
(skip-unless (file-notify--test-local-enabled)) (skip-unless (file-notify--test-local-enabled))
(unwind-protect (unwind-protect
@ -1115,7 +1118,8 @@ delivered."
(ert-deftest file-notify-test07-many-events () (ert-deftest file-notify-test07-many-events ()
"Check that events are not dropped." "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)) (skip-unless (file-notify--test-local-enabled))
(should (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 test caters for the situation in bug#22736 where the callback for
the directory received events for the file with the descriptor of the directory received events for the file with the descriptor of
the file watch." the file watch."
:tags '(:expensive-test) :tags (if (getenv "EMACS_EMBA_CI")
'(:expensive-test :unstable) '(:expensive-test))
(skip-unless (file-notify--test-local-enabled)) (skip-unless (file-notify--test-local-enabled))
;; A directory to be watched. ;; A directory to be watched.