lilyp pushed a commit to branch emacs-team
in repository guix.
commit 580c7ff62c9ef0736e73f1322c807bc8913a4158
Author: Nicolas Graves <[email protected]>
AuthorDate: Thu Mar 20 11:08:39 2025 +0100
gnu: emacs-polymode: Skip failing test.
* gnu/packages/emacs-xyz.scm (emacs-polymode)
[arguments]{test-command}: Set it.
{phases}: Add phase 'patch-tests to ignore some tests.
Signed-off-by: Liliana Marie Prikler <[email protected]>
---
gnu/packages/emacs-xyz.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 42f1b54f23..c61b2a8771 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -23753,6 +23753,17 @@ contexts.
;; XXX: Cherry-picked from upstream, remove when bumping to 0.2.3.
(search-patches "emacs-polymode-fix-lexical-variable-error.patch"))))
(build-system emacs-build-system)
+ (arguments
+ (list
+ #:test-command #~(list "make" "test")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'patch-tests
+ (lambda _
+ (substitute* "tests/define-tests.el"
+ (("\\(ert-deftest define/hooks-run-in-indirect-buffers \\(\\)"
+ all)
+ (string-append all "(skip-unless nil)"))))))))
(home-page "https://github.com/polymode/polymode")
(synopsis "Framework for multiple Emacs modes based on indirect buffers")
(description