1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Avoid tests failures on hydra due to Tramp autoload changes

* test/lisp/filenotify-tests.el, test/lisp/shadowfile-tests.el:
* test/lisp/net/tramp-tests.el: Require tramp-sh before changing
tramp-remote-path.
This commit is contained in:
Glenn Morris 2018-12-17 13:52:46 -05:00
parent 3621593616
commit 2c3f7f9c45
3 changed files with 3 additions and 0 deletions

View file

@ -180,6 +180,7 @@ Return nil when any other file notification watch is still active."
;; This should happen on hydra only.
(when (getenv "EMACS_HYDRA_CI")
(require 'tramp-sh)
(add-to-list 'tramp-remote-path 'tramp-own-remote-path))
;; We do not want to try and fail `file-notify-add-watch'.

View file

@ -107,6 +107,7 @@
;; This should happen on hydra only.
(when (getenv "EMACS_HYDRA_CI")
(require 'tramp-sh)
(add-to-list 'tramp-remote-path 'tramp-own-remote-path))
(defvar tramp--test-enabled-checked nil

View file

@ -69,6 +69,7 @@
;; This should happen on hydra only.
(when (getenv "EMACS_HYDRA_CI")
(require 'tramp-sh)
(add-to-list 'tramp-remote-path 'tramp-own-remote-path))
(defconst shadow-test-info-file