mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
* automated/tramp-tests.el (tramp--instrument-test-case):
Print debug buffer in any case.
This commit is contained in:
parent
8d56de7901
commit
87ed944822
@ -1,3 +1,8 @@
|
||||
2014-06-29 Michael Albinus <michael.albinus@gmx.de>
|
||||
|
||||
* automated/tramp-tests.el (tramp--instrument-test-case):
|
||||
Print debug buffer in any case.
|
||||
|
||||
2014-06-28 Leo Liu <sdl.web@gmail.com>
|
||||
|
||||
* automated/calc-tests.el: New file and add tests for math-bignum.
|
||||
|
@ -116,18 +116,15 @@ shall not contain a timeout."
|
||||
`(let ((tramp-verbose ,verbose)
|
||||
(tramp-message-show-message t)
|
||||
(tramp-debug-on-error t))
|
||||
(condition-case err
|
||||
(unwind-protect
|
||||
(progn ,@body)
|
||||
(ert-test-skipped
|
||||
(signal (car err) (cdr err)))
|
||||
((error quit)
|
||||
(with-parsed-tramp-file-name tramp-test-temporary-file-directory nil
|
||||
(with-current-buffer (tramp-get-connection-buffer v)
|
||||
(message "%s" (buffer-string)))
|
||||
(with-current-buffer (tramp-get-debug-buffer v)
|
||||
(message "%s" (buffer-string))))
|
||||
(message "%s" err)
|
||||
(signal (car err) (cdr err))))))
|
||||
(when (> tramp-verbose 3)
|
||||
(with-parsed-tramp-file-name tramp-test-temporary-file-directory nil
|
||||
(with-current-buffer (tramp-get-connection-buffer v)
|
||||
(message "%s" (buffer-string)))
|
||||
(with-current-buffer
|
||||
(tramp-get-debug-buffer v)
|
||||
(message "%s" (buffer-string))))))))
|
||||
|
||||
(ert-deftest tramp-test00-availability ()
|
||||
"Test availability of Tramp functions."
|
||||
|
Loading…
Reference in New Issue
Block a user