diff options
| author | Michael Albinus | 2018-08-08 16:22:23 +0200 |
|---|---|---|
| committer | Michael Albinus | 2018-08-08 16:22:23 +0200 |
| commit | c85ff212dcd0817b833032650f1d52850e8a3c2e (patch) | |
| tree | 2e412a6b7d8aab692110e566aec5924b95118b4f | |
| parent | c9f13b9ea3c6b8f1e70c722462c74caa25708c21 (diff) | |
| download | emacs-c85ff212dcd0817b833032650f1d52850e8a3c2e.tar.gz emacs-c85ff212dcd0817b833032650f1d52850e8a3c2e.zip | |
; More instrumentation for shadowfile-tests.el
| -rw-r--r-- | test/lisp/shadowfile-tests.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/lisp/shadowfile-tests.el b/test/lisp/shadowfile-tests.el index 085ab476ffe..0335caa5168 100644 --- a/test/lisp/shadowfile-tests.el +++ b/test/lisp/shadowfile-tests.el | |||
| @@ -720,6 +720,10 @@ guaranteed by the originator of a cluster definition." | |||
| 720 | (unwind-protect | 720 | (unwind-protect |
| 721 | (condition-case err | 721 | (condition-case err |
| 722 | (progn | 722 | (progn |
| 723 | (require 'trace) | ||
| 724 | (dolist (elt (all-completions "shadow-" obarray 'functionp)) | ||
| 725 | (trace-function-background (intern elt))) | ||
| 726 | (trace-function-background 'save-buffer) | ||
| 723 | ;; Cleanup. | 727 | ;; Cleanup. |
| 724 | (when (file-exists-p shadow-info-file) | 728 | (when (file-exists-p shadow-info-file) |
| 725 | (delete-file shadow-info-file)) | 729 | (delete-file shadow-info-file)) |
| @@ -817,6 +821,9 @@ guaranteed by the originator of a cluster definition." | |||
| 817 | shadow-files-to-copy))) | 821 | shadow-files-to-copy))) |
| 818 | (error (message "Error: %s" err) (signal (car err) (cdr err)))) | 822 | (error (message "Error: %s" err) (signal (car err) (cdr err)))) |
| 819 | 823 | ||
| 824 | (untrace-all) | ||
| 825 | (message "%s" (with-current-buffer trace-buffer (buffer-string))) | ||
| 826 | |||
| 820 | ;; Cleanup. | 827 | ;; Cleanup. |
| 821 | (when (file-exists-p shadow-info-file) | 828 | (when (file-exists-p shadow-info-file) |
| 822 | (delete-file shadow-info-file)) | 829 | (delete-file shadow-info-file)) |