aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorF. Jason Park2025-10-21 21:51:00 -0700
committerF. Jason Park2025-10-22 19:20:27 -0700
commit7aef4db23d6d2d79d803c6ab708bbe40896e7b4f (patch)
tree9d98f4b291a9beff79d42f77969900f7dc46b876 /test
parentc2127c541eba7900f19948813906333fe53d3895 (diff)
downloademacs-7aef4db23d6d2d79d803c6ab708bbe40896e7b4f.tar.gz
emacs-7aef4db23d6d2d79d803c6ab708bbe40896e7b4f.zip
; Prefer EMACS_EMBA_CI for selecting ERC tests
* test/lisp/erc/erc-scenarios-keep-place-indicator.el (erc-scenarios-keep-place-indicator--follow): * test/lisp/erc/erc-stamp-tests.el (erc-echo-timestamp): * test/lisp/erc/erc-tests.el (erc--channel-modes): Use "EMACS_EMBA_CI" for EMBA-specific test selection instead of "CI", which is a Gitlab "predefined" variable absent from .job-template's Docker subprocess.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/erc/erc-scenarios-keep-place-indicator.el3
-rw-r--r--test/lisp/erc/erc-stamp-tests.el3
-rw-r--r--test/lisp/erc/erc-tests.el3
3 files changed, 6 insertions, 3 deletions
diff --git a/test/lisp/erc/erc-scenarios-keep-place-indicator.el b/test/lisp/erc/erc-scenarios-keep-place-indicator.el
index cc05bf105cb..2e0babfd2ae 100644
--- a/test/lisp/erc/erc-scenarios-keep-place-indicator.el
+++ b/test/lisp/erc/erc-scenarios-keep-place-indicator.el
@@ -31,9 +31,10 @@
31;; away, the indicator is updated if it's earlier in the buffer. 31;; away, the indicator is updated if it's earlier in the buffer.
32(ert-deftest erc-scenarios-keep-place-indicator--follow () 32(ert-deftest erc-scenarios-keep-place-indicator--follow ()
33 :tags `(:expensive-test 33 :tags `(:expensive-test
34 ,@(and (getenv "CI") '(:unstable)) 34 ,@(and (getenv "EMACS_EMBA_CI") '(:unstable))
35 ,@(and (getenv "ERC_TESTS_GRAPHICAL") '(:erc--graphical))) 35 ,@(and (getenv "ERC_TESTS_GRAPHICAL") '(:erc--graphical)))
36 36
37 ;; ERC's tests also run in external CI that exports this variable.
37 (when (getenv "CI") 38 (when (getenv "CI")
38 (ert-skip "Times out intermittently")) 39 (ert-skip "Times out intermittently"))
39 40
diff --git a/test/lisp/erc/erc-stamp-tests.el b/test/lisp/erc/erc-stamp-tests.el
index dc3332460d0..aa5f8d949b7 100644
--- a/test/lisp/erc/erc-stamp-tests.el
+++ b/test/lisp/erc/erc-stamp-tests.el
@@ -278,7 +278,8 @@
278 (kill-buffer))))) 278 (kill-buffer)))))
279 279
280(ert-deftest erc-echo-timestamp () 280(ert-deftest erc-echo-timestamp ()
281 :tags (and (null (getenv "CI")) '(:unstable)) 281 ;; Only mark :unstable when running locally.
282 :tags (and (null (getenv "CI")) (null (getenv "EMACS_EMBA_CI")) '(:unstable))
282 283
283 (should-not erc-echo-timestamps) 284 (should-not erc-echo-timestamps)
284 (should-not erc-stamp--last-stamp) 285 (should-not erc-stamp--last-stamp)
diff --git a/test/lisp/erc/erc-tests.el b/test/lisp/erc/erc-tests.el
index 5eb084c48ee..1b486c68584 100644
--- a/test/lisp/erc/erc-tests.el
+++ b/test/lisp/erc/erc-tests.el
@@ -930,7 +930,8 @@
930 (should-not calls)))) 930 (should-not calls))))
931 931
932(ert-deftest erc--channel-modes () 932(ert-deftest erc--channel-modes ()
933 :tags (and (null (getenv "CI")) '(:unstable)) 933 ;; Only mark :unstable when running locally.
934 :tags (and (null (getenv "CI")) (null (getenv "EMACS_EMBA_CI")) '(:unstable))
934 935
935 (setq erc--isupport-params (make-hash-table) 936 (setq erc--isupport-params (make-hash-table)
936 erc--target (erc--target-from-string "#test") 937 erc--target (erc--target-from-string "#test")