From 2d627b54cb7b52aa2b5e9c1e20e937e1328eb025 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 26 Mar 2025 14:31:41 +0200 Subject: [PATCH] ; Fix OOM kill in ert-tests * 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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/lisp/emacs-lisp/ert-tests.el b/test/lisp/emacs-lisp/ert-tests.el index a0f00f3213c..fa9096b5879 100644 --- a/test/lisp/emacs-lisp/ert-tests.el +++ b/test/lisp/emacs-lisp/ert-tests.el @@ -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 -- 2.39.5