aboutsummaryrefslogtreecommitdiffstats
path: root/test/src/process-tests.el
diff options
context:
space:
mode:
authorStefan Kangas2023-09-03 21:04:02 +0200
committerStefan Kangas2023-09-04 18:25:18 +0200
commit7975c811d32b6c08b4eab9e8faee615ab69c9e34 (patch)
tree2b518650de2eb2053ba28cfa9e39d4a3117de4a7 /test/src/process-tests.el
parent62f7760e61900b6ac0fb513294129130446b17e7 (diff)
downloademacs-7975c811d32b6c08b4eab9e8faee615ab69c9e34.tar.gz
emacs-7975c811d32b6c08b4eab9e8faee615ab69c9e34.zip
Use new ERT `skip-when` macro in tests
* test/lisp/autorevert-tests.el (auto-revert-test02-auto-revert-deleted-file): * test/lisp/emacs-lisp/benchmark-tests.el (benchmark-tests): * test/lisp/emacs-lisp/find-func-tests.el (find-func-tests--library-completion): * test/lisp/eshell/esh-proc-tests.el (esh-proc-test/kill-pipeline): * test/lisp/filenotify-tests.el (file-notify-test11-symlinks): * test/lisp/ibuffer-tests.el (ibuffer-0autoload): * test/lisp/international/ucs-normalize-tests.el (ucs-normalize-part1): * test/lisp/net/network-stream-tests.el (echo-server-nowait) (connect-to-tls-ipv4-nowait, connect-to-tls-ipv6-nowait) (open-network-stream-tls-wait, open-network-stream-tls-nowait) (open-network-stream-tls, open-network-stream-tls-nocert) (open-gnutls-stream-new-api-nowait) (open-gnutls-stream-old-api-nowait): * test/lisp/progmodes/cperl-mode-tests.el (cperl-test-bug-10483) (cperl-test-hyperactive-electric-else): * test/lisp/progmodes/elisp-mode-tests.el (eval-last-sexp-print-format-sym-echo) (eval-last-sexp-print-format-small-int-echo) (eval-last-sexp-print-format-large-int-echo) (eval-defun-prints-edebug-when-instrumented): * test/lisp/progmodes/python-tests.el (python-ffap-module-path-1): * test/lisp/shadowfile-tests.el (shadow-test00-clusters) (shadow-test01-sites, shadow-test02-files) (shadow-test03-expand-cluster-in-file-name) (shadow-test04-contract-file-name, shadow-test05-file-match) (shadow-test06-literal-groups, shadow-test07-regexp-groups) (shadow-test08-shadow-todo, shadow-test09-shadow-copy-files): * test/lisp/simple-tests.el (eval-expression-print-format-sym-echo) (eval-expression-print-format-small-int-echo) (eval-expression-print-format-large-int-echo): * test/lisp/term-tests.el (term-simple-lines) (term-carriage-return, term-line-wrap, term-colors) (term-colors-bold-is-bright, term-cursor-movement) (term-scrolling-region, term-set-directory) (term-line-wrapping-then-motion, term-to-margin): * test/lisp/thread-tests.el (thread-tests-list-threads-error-when-not-configured): * test/lisp/vc/vc-tests.el (backend): * test/manual/scroll-tests.el (scroll-tests-scroll-margin-0) (scroll-tests-scroll-margin-negative) (scroll-tests-scroll-margin-max) (scroll-tests-scroll-margin-over-max) (scroll-tests-scroll-margin-whole-window): * test/misc/test-custom-libs.el (test-custom-libs): * test/src/emacs-module-tests.el (module/async-pipe): * test/src/fileio-tests.el (fileio-tests--odd-symlink-chars): * test/src/filelock-tests.el (filelock-tests-lock-spoiled) (filelock-tests-file-locked-p-spoiled) (filelock-tests-unlock-spoiled) (filelock-tests-kill-buffer-spoiled) (filelock-tests-detect-external-change): * test/src/image-tests.el (image-tests-image-size/error-on-nongraphical-display) (image-tests-image-mask-p/error-on-nongraphical-display) (image-tests-image-metadata/error-on-nongraphical-display): * test/src/process-tests.el (make-process/mix-stderr) (process-tests/fd-setsize-no-crash/make-network-process) (process-tests/fd-setsize-no-crash/make-serial-process): Use ERT `skip-when` macro in tests.
Diffstat (limited to 'test/src/process-tests.el')
-rw-r--r--test/src/process-tests.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/src/process-tests.el b/test/src/process-tests.el
index e17e1c0d833..711a27f1cfb 100644
--- a/test/src/process-tests.el
+++ b/test/src/process-tests.el
@@ -231,7 +231,7 @@ process to complete."
231 (with-timeout (60 (ert-fail "Test timed out")) 231 (with-timeout (60 (ert-fail "Test timed out"))
232 ;; Frequent random (?) failures on hydra.nixos.org, with no process output. 232 ;; Frequent random (?) failures on hydra.nixos.org, with no process output.
233 ;; Maybe this test should be tagged unstable? See bug#31214. 233 ;; Maybe this test should be tagged unstable? See bug#31214.
234 (skip-unless (not (getenv "EMACS_HYDRA_CI"))) 234 (skip-when (getenv "EMACS_HYDRA_CI"))
235 (with-temp-buffer 235 (with-temp-buffer
236 (let ((process (make-process 236 (let ((process (make-process
237 :name "mix-stderr" 237 :name "mix-stderr"
@@ -723,7 +723,7 @@ FD_SETSIZE file descriptors (Bug#24325)."
723 (skip-unless (featurep 'make-network-process '(:server t))) 723 (skip-unless (featurep 'make-network-process '(:server t)))
724 (skip-unless (featurep 'make-network-process '(:family local))) 724 (skip-unless (featurep 'make-network-process '(:family local)))
725 ;; Avoid hang due to connect/accept handshake on Cygwin (bug#49496). 725 ;; Avoid hang due to connect/accept handshake on Cygwin (bug#49496).
726 (skip-unless (not (eq system-type 'cygwin))) 726 (skip-when (eq system-type 'cygwin))
727 (with-timeout (60 (ert-fail "Test timed out")) 727 (with-timeout (60 (ert-fail "Test timed out"))
728 (ert-with-temp-directory directory 728 (ert-with-temp-directory directory
729 (process-tests--with-processes processes 729 (process-tests--with-processes processes
@@ -763,7 +763,7 @@ FD_SETSIZE file descriptors (Bug#24325)."
763 "Check that Emacs doesn't crash when trying to use more than 763 "Check that Emacs doesn't crash when trying to use more than
764FD_SETSIZE file descriptors (Bug#24325)." 764FD_SETSIZE file descriptors (Bug#24325)."
765 ;; This test cannot be run if PTYs aren't supported. 765 ;; This test cannot be run if PTYs aren't supported.
766 (skip-unless (not (eq system-type 'windows-nt))) 766 (skip-when (eq system-type 'windows-nt))
767 (with-timeout (60 (ert-fail "Test timed out")) 767 (with-timeout (60 (ert-fail "Test timed out"))
768 (process-tests--with-processes processes 768 (process-tests--with-processes processes
769 ;; In order to use `make-serial-process', we need to create some 769 ;; In order to use `make-serial-process', we need to create some