]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix OOM kill in ert-tests
authorEli Zaretskii <eliz@gnu.org>
Wed, 26 Mar 2025 12:31:41 +0000 (14:31 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 27 Mar 2025 10:12:40 +0000 (11:12 +0100)
* test/lisp/emacs-lisp/ert-tests.el
(ert-test-run-tests-batch-expensive): Mark it 'unstable', as it
might run out of memory on GNU/Linux and on Windows.

(cherry picked from commit 3d5def2677c62aa017b675ced18c9bac2697c439)

test/lisp/emacs-lisp/ert-tests.el

index a0f00f3213c9320a27a9e1082bdaf11af4d436c6..fa9096b58796ce9a1e7031953c12df0020bdc515 100644 (file)
@@ -587,9 +587,7 @@ This macro is used to test if macroexpansion in `should' works."
        (should found-complex)))))
 
 (ert-deftest ert-test-run-tests-batch-expensive ()
-  :tags (if (getenv "EMACS_EMBA_CI") '(:unstable))
-  ;; This test runs out of memory on MS-Windows, so skip it.
-  (skip-unless (not (eq system-type 'windows-nt)))
+  :tags '(:unstable)
   (let* ((complex-list '((:1 (:2 (:3 (:4 (:5 (:6 "abc"))))))))
         (failing-test-1
           (make-ert-test :name 'failing-test-1