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 09/51] gnu: emacs-org-noter: Disable tests.
Date: Thu, 20 Mar 2025 11:08:17 +0100
* gnu/packages/emacs-xyz.scm (emacs-org-noter)
[native-inputs]: Add testing inputs: emacs-buttercup, emacs-djvu,
emacs-nov-el, emacs-org-roam, emacs-pdf-tools.
[arguments]{tests?}: Disable tests.
{test-command}: Define buttercup command.
{phases}: Set HOME.
---
 gnu/packages/emacs-xyz.scm | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3f947888c7..b76fa48bba 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -35993,8 +35993,22 @@ (define-public emacs-org-noter
                    "modules/org-noter-org-roam.el"
                    "modules/org-noter-pdf.el")
            #:exclude
-           #~(list "emacs-devel.el")))
-    (native-inputs (list emacs-log4e emacs-with-simulated-input))
+           #~(list "emacs-devel.el")
+           #:tests? #f ; Multiple failures with "Not at a drawer"
+           #:test-command
+           #~(list "buttercup" "-L" ".")
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-before 'check 'pre-check
+                 (lambda _
+                   (setenv "HOME" (dirname (getcwd))))))))
+    (native-inputs (list emacs-buttercup
+                         emacs-djvu
+                         emacs-log4e
+                         emacs-nov-el
+                         emacs-org-roam
+                         emacs-pdf-tools
+                         emacs-with-simulated-input))
     (propagated-inputs (list emacs-org))
     (home-page "https://github.com/org-noter/org-noter")
     (synopsis "Synchronized, Org-mode, document annotator")
-- 
2.48.1





This bug report was last modified 55 days ago.

Previous Next


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