lilyp pushed a commit to branch emacs-team
in repository guix.

commit 75aa621963525c0f2d69e9fd28ecffe14bd80211
Author: Nicolas Graves <ngra...@ngraves.fr>
AuthorDate: Thu Mar 20 11:08:40 2025 +0100

    gnu: emacs-polymode-org: Skip failing tests.
    
    * gnu/packages/emacs-xyz.scm (emacs-polymode-org)
    [arguments]{test-command}: Set it.
    {phases}: Add phase 'patch-tests to skip failing tests.
    
    Signed-off-by: Liliana Marie Prikler <liliana.prik...@gmail.com>
---
 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 94d73c4cd1..04668fa5f7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24540,6 +24540,17 @@ Microsoft PowerShell files.")
        (sha256
         (base32 "1srnwcsn2bh8gqzxixkhffk7gbnk66kd4dgvxbnps5nxqc6v0qhc"))))
     (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/poly-org-tests.el"
+                (("\\(ert-deftest poly-org/change-spans \\(\\)"
+                  all)
+                 (string-append all "(skip-unless nil)"))))))))
     (propagated-inputs
      (list emacs-polymode))
     (properties '((upstream-name . "poly-org")))

Reply via email to