GNU bug report logs - #77131
[PATCH emacs-team 00/51] Some test fixes.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Thu, 20 Mar 2025 09:25:02 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 77131 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [bug#77131] [PATCH 32/51] gnu: emacs-polymode-org: Skip failing tests.
Date: Thu, 20 Mar 2025 11:08:40 +0100
* gnu/packages/emacs-xyz.scm (emacs-polymode-org)
[arguments]{test-command}: Set it.
{phases}: Add phase 'patch-tests to skip failing tests.
---
 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 80bab56b15..82b8c8e009 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -23920,6 +23920,17 @@ (define-public emacs-polymode-org
        (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")))
-- 
2.48.1





This bug report was last modified 56 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.