1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-15 11:30:44 +02:00

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 <liliana.prikler@gmail.com>
This commit is contained in:
Nicolas Graves 2025-03-20 11:08:39 +01:00 committed by Liliana Marie Prikler
parent ab54d52a77
commit 43e27534c6
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -24612,6 +24612,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