[bug#77131,43/51] gnu: emacs-python-environment: Fix tests.

Message ID 20250320100907.20485-43-ngraves@ngraves.fr
State New
Headers
Series [bug#77131,01/51] gnu: Add (gnu packages emacs-build) module. |

Commit Message

Nicolas Graves March 20, 2025, 10:08 a.m. UTC
  * gnu/packages/emacs-xyz.scm (emacs-python-environment)
[arguments]{test-command}: Set it.
---
 gnu/packages/emacs-xyz.scm | 3 +++
 1 file changed, 3 insertions(+)
  

Patch

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b9266dd437..cebad173c6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -11650,6 +11650,9 @@  (define-public emacs-python-environment
        (sha256
         (base32 "0q6bib9nr6xiq6npzbngyfcjk87yyvwzq1zirr3z1h5wadm34lsk"))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:test-command
+           #~(list "emacs" "--batch" "-f" "ert-run-tests-batch-and-exit")))
     (propagated-inputs
      (list emacs-deferred))
     (home-page "https://github.com/tkf/emacs-python-environment")