aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2014-06-29 20:32:35 +0200
committerMichael Albinus2014-06-29 20:32:35 +0200
commit87ed944822b8616396bd1b16257b7f299047c1a3 (patch)
tree8984a310241f2a3db3c72a8cfc8949ed4eabc7de
parent8d56de79017652907c97aa00ba0d8155229b496b (diff)
downloademacs-87ed944822b8616396bd1b16257b7f299047c1a3.tar.gz
emacs-87ed944822b8616396bd1b16257b7f299047c1a3.zip
* automated/tramp-tests.el (tramp--instrument-test-case):
Print debug buffer in any case.
-rw-r--r--test/ChangeLog5
-rw-r--r--test/automated/tramp-tests.el19
2 files changed, 13 insertions, 11 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 617ac98f5d8..9b0f3ab1b04 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
12014-06-29 Michael Albinus <michael.albinus@gmx.de>
2
3 * automated/tramp-tests.el (tramp--instrument-test-case):
4 Print debug buffer in any case.
5
12014-06-28 Leo Liu <sdl.web@gmail.com> 62014-06-28 Leo Liu <sdl.web@gmail.com>
2 7
3 * automated/calc-tests.el: New file and add tests for math-bignum. 8 * automated/calc-tests.el: New file and add tests for math-bignum.
diff --git a/test/automated/tramp-tests.el b/test/automated/tramp-tests.el
index b010ab467f6..864a43d638f 100644
--- a/test/automated/tramp-tests.el
+++ b/test/automated/tramp-tests.el
@@ -116,18 +116,15 @@ shall not contain a timeout."
116 `(let ((tramp-verbose ,verbose) 116 `(let ((tramp-verbose ,verbose)
117 (tramp-message-show-message t) 117 (tramp-message-show-message t)
118 (tramp-debug-on-error t)) 118 (tramp-debug-on-error t))
119 (condition-case err 119 (unwind-protect
120 (progn ,@body) 120 (progn ,@body)
121 (ert-test-skipped 121 (when (> tramp-verbose 3)
122 (signal (car err) (cdr err))) 122 (with-parsed-tramp-file-name tramp-test-temporary-file-directory nil
123 ((error quit) 123 (with-current-buffer (tramp-get-connection-buffer v)
124 (with-parsed-tramp-file-name tramp-test-temporary-file-directory nil 124 (message "%s" (buffer-string)))
125 (with-current-buffer (tramp-get-connection-buffer v) 125 (with-current-buffer
126 (message "%s" (buffer-string))) 126 (tramp-get-debug-buffer v)
127 (with-current-buffer (tramp-get-debug-buffer v) 127 (message "%s" (buffer-string))))))))
128 (message "%s" (buffer-string))))
129 (message "%s" err)
130 (signal (car err) (cdr err))))))
131 128
132(ert-deftest tramp-test00-availability () 129(ert-deftest tramp-test00-availability ()
133 "Test availability of Tramp functions." 130 "Test availability of Tramp functions."