]> git.eshelyaron.com Git - emacs.git/commit
Factor out test configuration for remote files
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 8 Jun 2022 10:06:56 +0000 (12:06 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 8 Jun 2022 10:06:56 +0000 (12:06 +0200)
commitb2ed8a547ace1dade2823d28b60c21d3634d68b2
treeaa3420eccea7101e5f5b7d8639825e4e4dc65ff7
parent493ae66be08a99ea7918ee8210aec3eb925c8fad
Factor out test configuration for remote files

* lisp/emacs-lisp/ert-x.el (tramp-methods)
(tramp-default-host-alist): Declare.
(ert-remote-temporary-file-directory): New defconst.

* test/README: Mention dnd-tests.el.

* test/lisp/autorevert-tests.el
(auto-revert-test-remote-temporary-file-directory): Remove.
Replace all uses by `ert-remote-temporary-file-directory'.

* test/lisp/dnd-tests.el (ert-x): Require.
(dnd-tests-temporary-file-directory): Remove.  Replace all uses by
`ert-remote-temporary-file-directory'.

* test/lisp/filenotify-tests.el
(file-notify-test-remote-temporary-file-directory): Remove.
Replace all uses by `ert-remote-temporary-file-directory'.

* test/lisp/shadowfile-tests.el (ert-x): Require.
(shadow-test-remote-temporary-file-directory): Remove.  Replace
all uses by `ert-remote-temporary-file-directory'.

* test/lisp/net/tramp-tests.el: Don't require ert.
(ert-remote-temporary-file-directory): Define if it doesn't exist.
(tramp-test-temporary-file-directory): Remove.  Replace all uses
by `ert-remote-temporary-file-directory'.
lisp/emacs-lisp/ert-x.el
test/README
test/lisp/autorevert-tests.el
test/lisp/dnd-tests.el
test/lisp/filenotify-tests.el
test/lisp/net/tramp-tests.el
test/lisp/shadowfile-tests.el