lilyp pushed a commit to branch emacs-team in repository guix. commit 1b55e54e2aad448ff7088914fcc5044f95aa06f7 Author: Liliana Marie Prikler <liliana.prik...@gmail.com> 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 d57412dd67..a8fb9fc925 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -28183,7 +28183,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 @@ -28196,6 +28204,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