gnu: emacs-julia-mode: Exclude tests that fail with Emacs 29.

* gnu/packages/emacs-xyz.scm (emacs-julia-mode)[#:phases]: Add ‘fix-tests’.

Change-Id: I1da1077a7e7e077392458243b2d3cd44592ebd45
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Simon Tournier 2023-10-27 01:41:26 +02:00 committed by Liliana Marie Prikler
parent 2b5c6e1a41
commit 800ed532d2
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -95,7 +95,7 @@
;;; Copyright © 2021 Alexey Abramov <levenson@mmer.org>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2021, 2022 Stefan Reichör <stefan@xsteve.at>
;;; Copyright © 2021, 2022 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021, 2022, 2023 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2021 Eugene Klimov <lipklim@mailbox.org>
;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 David Dashyan <mail@davie.li>
@ -13603,7 +13603,17 @@ (define-public emacs-julia-mode
`(#:tests? #t
#:test-command '("emacs" "--batch"
"-l" "julia-mode-tests.el"
"-f" "ert-run-tests-batch-and-exit")))
"-f" "ert-run-tests-batch-and-exit")
#:phases
(modify-phases %standard-phases
(add-before 'check 'fix-test
(lambda _
(substitute* "julia-mode-tests.el"
;; The test started failing with Emacs 29; see
;; <https://github.com/JuliaEditorSupport/julia-emacs/issues/199>
;; and discrepancy reported <https://issues.guix.gnu.org/66763>.
(("julia--test-end-of-defun-nested-2.*" all)
(string-append all " :expected-result :failed\n"))))))))
(home-page "https://github.com/JuliaEditorSupport/julia-emacs")
(synopsis "Major mode for Julia")
(description "This Emacs package provides a mode for the Julia