mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-20 11:57:36 +00:00
; Instrument Tramp tests
; * test/infra/test-jobs.yml (test-lisp-net-inotify): Run expensive. ; * test/lisp/net/tramp-tests.el (tramp-test32-shell-command): Instrument.
This commit is contained in:
parent
db4dd28c21
commit
e6b0fa4408
2 changed files with 10 additions and 2 deletions
|
|
@ -338,7 +338,7 @@ test-lisp-net-inotify:
|
|||
- test/lisp/net/*resources/**
|
||||
variables:
|
||||
target: emacs-inotify
|
||||
make_params: "-k -C test check-lisp-net"
|
||||
make_params: "-k -C test check-lisp-net SELECTOR='(not (tag :unstable))'"
|
||||
|
||||
test-lisp-nxml-inotify:
|
||||
stage: normal
|
||||
|
|
|
|||
|
|
@ -5400,13 +5400,21 @@ INPUT, if non-nil, is a string sent to the process."
|
|||
(let ((stderr (generate-new-buffer "*stderr*")))
|
||||
(unwind-protect
|
||||
(with-temp-buffer
|
||||
(when (getenv "EMACS_EMBA_CI")
|
||||
(tramp--test-message "Hallo1"))
|
||||
(funcall
|
||||
this-shell-command
|
||||
"echo foo >&2; echo bar" (current-buffer) stderr)
|
||||
(when (getenv "EMACS_EMBA_CI")
|
||||
(tramp--test-message "Hallo2"))
|
||||
(should (string-equal "bar\n" (buffer-string)))
|
||||
(when (getenv "EMACS_EMBA_CI")
|
||||
(tramp--test-message "Hallo3"))
|
||||
;; Check stderr.
|
||||
(should
|
||||
(string-equal "foo\n" (tramp-get-buffer-string stderr))))
|
||||
(string-equal "foo\n" (tramp-get-buffer-string stderr)))
|
||||
(when (getenv "EMACS_EMBA_CI")
|
||||
(tramp--test-message "Hallo4")))
|
||||
|
||||
;; Cleanup.
|
||||
(ignore-errors (kill-buffer stderr))))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue