diff options
| author | Michael Albinus | 2017-07-02 12:16:33 +0200 |
|---|---|---|
| committer | Michael Albinus | 2017-07-02 12:16:33 +0200 |
| commit | 4383ff87a124bfbb5ef07751c12d42a743fccdc5 (patch) | |
| tree | cffbc49cc8a605d06609edeaff3e97776a8067ce | |
| parent | c7e7eb323cdd04c6295b01a271d6a5e5f7464ef6 (diff) | |
| download | emacs-4383ff87a124bfbb5ef07751c12d42a743fccdc5.tar.gz emacs-4383ff87a124bfbb5ef07751c12d42a743fccdc5.zip | |
; Instrument tramp-tests.el
| -rw-r--r-- | test/lisp/net/tramp-tests.el | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 10d52f31607..85990a848f5 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el | |||
| @@ -3700,7 +3700,11 @@ process sentinels. They shall not disturb each other." | |||
| 3700 | ;; Suppress nasty messages. | 3700 | ;; Suppress nasty messages. |
| 3701 | (inhibit-message t) | 3701 | (inhibit-message t) |
| 3702 | (number-proc 10) | 3702 | (number-proc 10) |
| 3703 | (timer-repeat 1) | 3703 | ;; On hydra, timings are bad. |
| 3704 | (timer-repeat | ||
| 3705 | (cond | ||
| 3706 | ((getenv "NIX_STORE") 10 | ||
| 3707 | (t 1)))) | ||
| 3704 | ;; We must distinguish due to performance reasons. | 3708 | ;; We must distinguish due to performance reasons. |
| 3705 | (timer-operation | 3709 | (timer-operation |
| 3706 | (cond | 3710 | (cond |
| @@ -3725,10 +3729,13 @@ process sentinels. They shall not disturb each other." | |||
| 3725 | (let ((default-directory tmp-name) | 3729 | (let ((default-directory tmp-name) |
| 3726 | (file | 3730 | (file |
| 3727 | (buffer-name (nth (random (length buffers)) buffers)))) | 3731 | (buffer-name (nth (random (length buffers)) buffers)))) |
| 3728 | (tramp--test-message "Start timer %s %s" timer-operation file) | 3732 | (tramp--test-message |
| 3733 | "Start timer %s %s %s" | ||
| 3734 | timer-operation file (current-time-string)) | ||
| 3729 | (funcall timer-operation file) | 3735 | (funcall timer-operation file) |
| 3730 | (tramp--test-message | 3736 | (tramp--test-message |
| 3731 | "Stop timer %s %s" timer-operation file)))))) | 3737 | "Stop timer %s %s %s" |
| 3738 | timer-operation file (current-time-string))))))) | ||
| 3732 | 3739 | ||
| 3733 | ;; Create temporary buffers. The number of buffers | 3740 | ;; Create temporary buffers. The number of buffers |
| 3734 | ;; corresponds to the number of processes; it could be | 3741 | ;; corresponds to the number of processes; it could be |