aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGlenn Morris2017-07-18 12:53:46 -0400
committerGlenn Morris2017-07-18 12:53:46 -0400
commit5ab91020fbc2f3bf75aa732a7456d9119ccbc347 (patch)
treedac27b5b5870de5507a49c80845c4f0e45230e5b /test
parentc2049489090141311bf8f460bf366d9784950861 (diff)
downloademacs-5ab91020fbc2f3bf75aa732a7456d9119ccbc347.tar.gz
emacs-5ab91020fbc2f3bf75aa732a7456d9119ccbc347.zip
Use a more specific test for running on hydra.nixos.org
* lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): * test/Makefile.in (WRITE_LOG): * test/lisp/filenotify-tests.el: * test/lisp/emacs-lisp/eieio-tests/eieio-test-methodinvoke.el (eieio-test-method-order-list-6): * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el (eieio-test-37-obsolete-name-in-constructor): * test/lisp/net/tramp-tests.el: Replace NIX_STORE with EMACS_HYDRA_CI.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.in2
-rw-r--r--test/lisp/emacs-lisp/eieio-tests/eieio-test-methodinvoke.el2
-rw-r--r--test/lisp/emacs-lisp/eieio-tests/eieio-tests.el2
-rw-r--r--test/lisp/filenotify-tests.el4
-rw-r--r--test/lisp/net/tramp-tests.el6
5 files changed, 8 insertions, 8 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index 4e1a120d5c2..ba823ec7e32 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -136,7 +136,7 @@ endif
136 $(AM_V_ELC)$(emacs) -f batch-byte-compile $< 136 $(AM_V_ELC)$(emacs) -f batch-byte-compile $<
137 137
138## Save logs, and show logs for failed tests. 138## Save logs, and show logs for failed tests.
139WRITE_LOG = $(if $(and ${NIX_STORE}, $(findstring tramp, $@)), |& tee $@, > $@ 2>&1) \ 139WRITE_LOG = $(if $(and ${EMACS_HYDRA_CI}, $(findstring tramp, $@)), |& tee $@, > $@ 2>&1) \
140 || { STAT=$$?; cat $@; exit $$STAT; } 140 || { STAT=$$?; cat $@; exit $$STAT; }
141 141
142ifeq ($(TEST_LOAD_EL), yes) 142ifeq ($(TEST_LOAD_EL), yes)
diff --git a/test/lisp/emacs-lisp/eieio-tests/eieio-test-methodinvoke.el b/test/lisp/emacs-lisp/eieio-tests/eieio-test-methodinvoke.el
index 241ca65122d..3df2157cc83 100644
--- a/test/lisp/emacs-lisp/eieio-tests/eieio-test-methodinvoke.el
+++ b/test/lisp/emacs-lisp/eieio-tests/eieio-test-methodinvoke.el
@@ -192,7 +192,7 @@
192(ert-deftest eieio-test-method-order-list-6 () 192(ert-deftest eieio-test-method-order-list-6 ()
193 ;; FIXME repeated intermittent failures on hydra (bug#24503) 193 ;; FIXME repeated intermittent failures on hydra (bug#24503)
194 ;; ((:STATIC C) (:STATIC C-base1) (:STATIC C-base2)) != ((:STATIC C))") 194 ;; ((:STATIC C) (:STATIC C-base1) (:STATIC C-base2)) != ((:STATIC C))")
195 (skip-unless (not (getenv "NIX_STORE"))) 195 (skip-unless (not (getenv "EMACS_HYDRA_CI")))
196 (let ((eieio-test-method-order-list nil) 196 (let ((eieio-test-method-order-list nil)
197 (ans '( 197 (ans '(
198 (:STATIC C) 198 (:STATIC C)
diff --git a/test/lisp/emacs-lisp/eieio-tests/eieio-tests.el b/test/lisp/emacs-lisp/eieio-tests/eieio-tests.el
index c34560ab585..1a6ab9da085 100644
--- a/test/lisp/emacs-lisp/eieio-tests/eieio-tests.el
+++ b/test/lisp/emacs-lisp/eieio-tests/eieio-tests.el
@@ -894,7 +894,7 @@ Subclasses to override slot attributes.")
894 894
895(ert-deftest eieio-test-37-obsolete-name-in-constructor () 895(ert-deftest eieio-test-37-obsolete-name-in-constructor ()
896 ;; FIXME repeated intermittent failures on hydra (bug#24503) 896 ;; FIXME repeated intermittent failures on hydra (bug#24503)
897 (skip-unless (not (getenv "NIX_STORE"))) 897 (skip-unless (not (getenv "EMACS_HYDRA_CI")))
898 (should (equal (eieio--testing "toto") '("toto" 2)))) 898 (should (equal (eieio--testing "toto") '("toto" 2))))
899 899
900(ert-deftest eieio-autoload () 900(ert-deftest eieio-autoload ()
diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el
index 8d05ceacee2..3456d31fda9 100644
--- a/test/lisp/filenotify-tests.el
+++ b/test/lisp/filenotify-tests.el
@@ -173,8 +173,8 @@ Return nil when any other file notification watch is still active."
173 tramp-verbose 0 173 tramp-verbose 0
174 tramp-message-show-message nil) 174 tramp-message-show-message nil)
175 175
176;; This shall happen on hydra only. 176;; This should happen on hydra only.
177(when (getenv "NIX_STORE") 177(when (getenv "EMACS_HYDRA_CI")
178 (add-to-list 'tramp-remote-path 'tramp-own-remote-path)) 178 (add-to-list 'tramp-remote-path 'tramp-own-remote-path))
179 179
180;; We do not want to try and fail `file-notify-add-watch'. 180;; We do not want to try and fail `file-notify-add-watch'.
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index de4fc8e0513..94e91b79300 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -86,8 +86,8 @@
86 tramp-message-show-message nil 86 tramp-message-show-message nil
87 tramp-persistency-file-name nil) 87 tramp-persistency-file-name nil)
88 88
89;; This shall happen on hydra only. 89;; This should happen on hydra only.
90(when (getenv "NIX_STORE") 90(when (getenv "EMACS_HYDRA_CI")
91 (add-to-list 'tramp-remote-path 'tramp-own-remote-path)) 91 (add-to-list 'tramp-remote-path 'tramp-own-remote-path))
92 92
93(defvar tramp--test-expensive-test 93(defvar tramp--test-expensive-test
@@ -3706,7 +3706,7 @@ process sentinels. They shall not disturb each other."
3706 ;; On hydra, timings are bad. 3706 ;; On hydra, timings are bad.
3707 (timer-repeat 3707 (timer-repeat
3708 (cond 3708 (cond
3709 ((getenv "NIX_STORE") 10) 3709 ((getenv "EMACS_HYDRA_CI") 10)
3710 (t 1))) 3710 (t 1)))
3711 ;; We must distinguish due to performance reasons. 3711 ;; We must distinguish due to performance reasons.
3712 (timer-operation 3712 (timer-operation