aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMichael Albinus2022-07-27 13:46:53 +0200
committerMichael Albinus2022-07-27 13:46:53 +0200
commite6b0fa4408c8e7b8bc6db70aeedbcbd235bdd7c3 (patch)
tree3ccaf973f1fc7248d9371dead1494b1128ede628 /test
parentdb4dd28c21f95361de620c6e543d23da5d982fd5 (diff)
downloademacs-e6b0fa4408c8e7b8bc6db70aeedbcbd235bdd7c3.tar.gz
emacs-e6b0fa4408c8e7b8bc6db70aeedbcbd235bdd7c3.zip
; 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.
Diffstat (limited to 'test')
-rw-r--r--test/infra/test-jobs.yml2
-rw-r--r--test/lisp/net/tramp-tests.el10
2 files changed, 10 insertions, 2 deletions
diff --git a/test/infra/test-jobs.yml b/test/infra/test-jobs.yml
index 51707c181b1..c18a3ca0d9c 100644
--- a/test/infra/test-jobs.yml
+++ b/test/infra/test-jobs.yml
@@ -338,7 +338,7 @@ test-lisp-net-inotify:
338 - test/lisp/net/*resources/** 338 - test/lisp/net/*resources/**
339 variables: 339 variables:
340 target: emacs-inotify 340 target: emacs-inotify
341 make_params: "-k -C test check-lisp-net" 341 make_params: "-k -C test check-lisp-net SELECTOR='(not (tag :unstable))'"
342 342
343test-lisp-nxml-inotify: 343test-lisp-nxml-inotify:
344 stage: normal 344 stage: normal
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index 784ef93f5b7..b064e3f5d0e 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -5400,13 +5400,21 @@ INPUT, if non-nil, is a string sent to the process."
5400 (let ((stderr (generate-new-buffer "*stderr*"))) 5400 (let ((stderr (generate-new-buffer "*stderr*")))
5401 (unwind-protect 5401 (unwind-protect
5402 (with-temp-buffer 5402 (with-temp-buffer
5403 (when (getenv "EMACS_EMBA_CI")
5404 (tramp--test-message "Hallo1"))
5403 (funcall 5405 (funcall
5404 this-shell-command 5406 this-shell-command
5405 "echo foo >&2; echo bar" (current-buffer) stderr) 5407 "echo foo >&2; echo bar" (current-buffer) stderr)
5408 (when (getenv "EMACS_EMBA_CI")
5409 (tramp--test-message "Hallo2"))
5406 (should (string-equal "bar\n" (buffer-string))) 5410 (should (string-equal "bar\n" (buffer-string)))
5411 (when (getenv "EMACS_EMBA_CI")
5412 (tramp--test-message "Hallo3"))
5407 ;; Check stderr. 5413 ;; Check stderr.
5408 (should 5414 (should
5409 (string-equal "foo\n" (tramp-get-buffer-string stderr)))) 5415 (string-equal "foo\n" (tramp-get-buffer-string stderr)))
5416 (when (getenv "EMACS_EMBA_CI")
5417 (tramp--test-message "Hallo4")))
5410 5418
5411 ;; Cleanup. 5419 ;; Cleanup.
5412 (ignore-errors (kill-buffer stderr)))))) 5420 (ignore-errors (kill-buffer stderr))))))