guix_mirror_bot pushed a commit to branch master
in repository guix.
commit a639ed8d9fa5da9261229c15bb8d90b0bf0a6c53
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Sun Mar 16 19:10:16 2025 +0100
gnu: emacs-org-ref: Fix tests.
* gnu/packages/emacs-xyz.scm (emacs-org-ref)[#:phases]: Add
‘skip-failing-test’.
[native-inputs]: Add emacs-ert-runner.
---
gnu/packages/emacs-xyz.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4714bf4e40..d35c9a7d66 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -28458,7 +28458,15 @@ their meaning for the current Emacs major-mode.")
#:include #~(cons* "org-ref.org" "org-ref.bib" %default-include)
#:exclude #~(list
;; author doesn't recommend using it
- "org-ref-pdf.el")))
+ "org-ref-pdf.el")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'skip-failing-test
+ (lambda _
+ (substitute* "test/all-org-test.el"
+ (("\\(ert-deftest preprocess .*" all)
+ (string-append all
+ " (skip-unless (libxml-available-p))"))))))))
(propagated-inputs
(list emacs-avy
emacs-citeproc-el
@@ -28471,6 +28479,7 @@ their meaning for the current Emacs major-mode.")
emacs-parsebib
emacs-request
emacs-s))
+ (native-inputs (list emacs-ert-runner))
(home-page "https://github.com/jkitchin/org-ref")
(synopsis "Citations, cross-references and bibliographies in Org mode")
(description