Skip to content

Commit 0728b40

Browse files
committed
; Instrument auto-revert--deftest-remote
1 parent 173fd94 commit 0728b40

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/lisp/autorevert-tests.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ This expects `auto-revert--messages' to be bound by
140140
`(ert-deftest ,(intern (concat (symbol-name test) "-remote")) ()
141141
,docstring
142142
:tags '(:expensive-test)
143+
(condition-case err
143144
(let ((temporary-file-directory
144145
auto-revert-test-remote-temporary-file-directory)
145146
(auto-revert-remote-files t)
@@ -148,7 +149,8 @@ This expects `auto-revert--messages' to be bound by
148149
(skip-unless (auto-revert--test-enabled-remote))
149150
(tramp-cleanup-connection
150151
(tramp-dissect-file-name temporary-file-directory) nil 'keep-password)
151-
(funcall (ert-test-body ert-test)))))
152+
(funcall (ert-test-body ert-test)))
153+
(error (message "%s" err)))))
152154

153155
(ert-deftest auto-revert-test00-auto-revert-mode ()
154156
"Check autorevert for a file."

0 commit comments

Comments
 (0)