guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 01/02: gnu: emacs-julia-mode: Exclude tests that fail with Emacs 29.
Date: Sun, 29 Oct 2023 08:21:19 -0400 (EDT)

lilyp pushed a commit to branch master
in repository guix.

commit 800ed532d272f31af76d57f9bc4b57af3ae0b994
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Fri Oct 27 01:41:26 2023 +0200

    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>
---
 gnu/packages/emacs-xyz.scm | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 10c4b0a636..0e879391b8 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -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 @@ E-Prime forbids the use of the \"to be\" form to 
strengthen your writing.")
        `(#: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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]