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.
This commit is contained in:
Liliana Marie Prikler 2025-03-16 19:10:16 +01:00
parent cb25c2898d
commit a639ed8d9f
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -28458,7 +28458,15 @@ their meaning for the current Emacs major-mode.")
#:include #~(cons* "org-ref.org" "org-ref.bib" %default-include) #:include #~(cons* "org-ref.org" "org-ref.bib" %default-include)
#:exclude #~(list #:exclude #~(list
;; author doesn't recommend using it ;; 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 (propagated-inputs
(list emacs-avy (list emacs-avy
emacs-citeproc-el emacs-citeproc-el
@ -28471,6 +28479,7 @@ their meaning for the current Emacs major-mode.")
emacs-parsebib emacs-parsebib
emacs-request emacs-request
emacs-s)) emacs-s))
(native-inputs (list emacs-ert-runner))
(home-page "https://github.com/jkitchin/org-ref") (home-page "https://github.com/jkitchin/org-ref")
(synopsis "Citations, cross-references and bibliographies in Org mode") (synopsis "Citations, cross-references and bibliographies in Org mode")
(description (description