aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2019-01-03 18:55:11 +0100
committerMichael Albinus2019-01-03 18:55:11 +0100
commitfe4922cbf01fa9161ffa142fc70972098d48186f (patch)
treeece941a2ce514ac55029e6e52e9386138c0da213
parentecdfb8ef5387939e6b6f466c4caeb236e099209c (diff)
downloademacs-fe4922cbf01fa9161ffa142fc70972098d48186f.tar.gz
emacs-fe4922cbf01fa9161ffa142fc70972098d48186f.zip
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.
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--test/lisp/filenotify-tests.el9
2 files changed, 9 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index af573affc93..ff51c20726b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,6 +35,8 @@ stages:
35 35
36test: 36test:
37 stage: test 37 stage: test
38 variables:
39 EMACS_EMBA_CI: 1
38 script: 40 script:
39 - ./autogen.sh autoconf 41 - ./autogen.sh autoconf
40 - ./configure --without-makeinfo 42 - ./configure --without-makeinfo
diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el
index 02830791542..d4e65af4186 100644
--- a/test/lisp/filenotify-tests.el
+++ b/test/lisp/filenotify-tests.el
@@ -588,6 +588,7 @@ delivered."
588 588
589(ert-deftest file-notify-test03-events () 589(ert-deftest file-notify-test03-events ()
590 "Check file creation/change/removal notifications." 590 "Check file creation/change/removal notifications."
591 :tags (if (getenv "EMACS_EMBA_CI") '(:unstable))
591 (skip-unless (file-notify--test-local-enabled)) 592 (skip-unless (file-notify--test-local-enabled))
592 593
593 (unwind-protect 594 (unwind-protect
@@ -945,6 +946,7 @@ delivered."
945 946
946(ert-deftest file-notify-test05-file-validity () 947(ert-deftest file-notify-test05-file-validity ()
947 "Check `file-notify-valid-p' for files." 948 "Check `file-notify-valid-p' for files."
949 :tags (if (getenv "EMACS_EMBA_CI") '(:unstable))
948 (skip-unless (file-notify--test-local-enabled)) 950 (skip-unless (file-notify--test-local-enabled))
949 951
950 (unwind-protect 952 (unwind-protect
@@ -1057,6 +1059,7 @@ delivered."
1057 1059
1058(ert-deftest file-notify-test06-dir-validity () 1060(ert-deftest file-notify-test06-dir-validity ()
1059 "Check `file-notify-valid-p' for directories." 1061 "Check `file-notify-valid-p' for directories."
1062 :tags (if (getenv "EMACS_EMBA_CI") '(:unstable))
1060 (skip-unless (file-notify--test-local-enabled)) 1063 (skip-unless (file-notify--test-local-enabled))
1061 1064
1062 (unwind-protect 1065 (unwind-protect
@@ -1115,7 +1118,8 @@ delivered."
1115 1118
1116(ert-deftest file-notify-test07-many-events () 1119(ert-deftest file-notify-test07-many-events ()
1117 "Check that events are not dropped." 1120 "Check that events are not dropped."
1118 :tags '(:expensive-test) 1121 :tags (if (getenv "EMACS_EMBA_CI")
1122 '(:expensive-test :unstable) '(:expensive-test))
1119 (skip-unless (file-notify--test-local-enabled)) 1123 (skip-unless (file-notify--test-local-enabled))
1120 1124
1121 (should 1125 (should
@@ -1274,7 +1278,8 @@ descriptors that were issued when registering the watches. This
1274test caters for the situation in bug#22736 where the callback for 1278test caters for the situation in bug#22736 where the callback for
1275the directory received events for the file with the descriptor of 1279the directory received events for the file with the descriptor of
1276the file watch." 1280the file watch."
1277 :tags '(:expensive-test) 1281 :tags (if (getenv "EMACS_EMBA_CI")
1282 '(:expensive-test :unstable) '(:expensive-test))
1278 (skip-unless (file-notify--test-local-enabled)) 1283 (skip-unless (file-notify--test-local-enabled))
1279 1284
1280 ;; A directory to be watched. 1285 ;; A directory to be watched.