]> git.eshelyaron.com Git - emacs.git/commitdiff
; Instrument Tramp tests
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 27 Jul 2022 11:46:53 +0000 (13:46 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 27 Jul 2022 11:46:53 +0000 (13:46 +0200)
; * test/infra/test-jobs.yml (test-lisp-net-inotify): Run expensive.
; * test/lisp/net/tramp-tests.el (tramp-test32-shell-command): Instrument.

test/infra/test-jobs.yml
test/lisp/net/tramp-tests.el

index 51707c181b123551ac07f1cf9082a7a23283f0b6..c18a3ca0d9cff3107632f59628415135e563ae7d 100644 (file)
@@ -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
index 784ef93f5b7731f5bf96d478b152ceca4a11c6d7..b064e3f5d0e28c0f2ba0b9ac7af02045f7a6df4e 100644 (file)
@@ -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))))))