GNU bug report logs -
#70786
[PATCH] Quietly skip 'lua-ts-mode' tests
Previous Next
Reported by: john muhl <jm <at> pub.pink>
Date: Sun, 5 May 2024 13:36:01 UTC
Severity: normal
Tags: patch
Fixed in version 30.1
Done: Yuan Fu <casouri <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 70786 in the body.
You can then email your comments to 70786 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#70786
; Package
emacs
.
(Sun, 05 May 2024 13:36:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
john muhl <jm <at> pub.pink>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 05 May 2024 13:36:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Tags: patch
Change the test to be silent when they’re skipped due to the
grammar being unavailable.
In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.41, cairo version 1.18.0) of 2024-05-02 built on localhost
Repository revision: 962bb71b4a813eb9c3832494746695d32d6f9109
Repository branch: master
System Description: Fedora Linux 39 (Thirty Nine)
Configured using:
'configure --with-pgtk --prefix=/home/jm/.local'
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#70786
; Package
emacs
.
(Sun, 05 May 2024 13:39:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 70786 <at> debbugs.gnu.org (full text, mbox):
[0001-Quietly-skip-lua-ts-mode-tests-bug-70786.patch (text/x-patch, attachment)]
From 96f1af589a7cef3fba3ff05a67af6659a58f9be1 Mon Sep 17 00:00:00 2001
From: john muhl <jm <at> pub.pink>
Date: Sat, 27 Apr 2024 18:52:41 -0500
Subject: [PATCH] Quietly skip 'lua-ts-mode' tests (bug#70786)
* test/lisp/align-tests.el (align-lua):
* test/lisp/progmodes/lua-ts-mode-tests.el
(lua-ts-test-indentation):
(lua-ts-test-movement):
(lua-ts-test-font-lock):
(lua-ts-test-which-function): Suppress warnings when the grammar is not
installed.
---
test/lisp/align-tests.el | 2 +-
test/lisp/progmodes/lua-ts-mode-tests.el | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/test/lisp/align-tests.el b/test/lisp/align-tests.el
index cd309ea07bf..eaebaf8360c 100644
--- a/test/lisp/align-tests.el
+++ b/test/lisp/align-tests.el
@@ -52,7 +52,7 @@ align-latex
(autoload 'treesit-ready-p "treesit")
(ert-deftest align-lua ()
- (skip-unless (treesit-ready-p 'lua))
+ (skip-unless (treesit-ready-p 'lua t))
(let ((comment-column 20)
(indent-tabs-mode nil))
(ert-test-erts-file (ert-resource-file "lua-ts-mode.erts")
diff --git a/test/lisp/progmodes/lua-ts-mode-tests.el b/test/lisp/progmodes/lua-ts-mode-tests.el
index a7b637d18d1..68b8c9ccfaa 100644
--- a/test/lisp/progmodes/lua-ts-mode-tests.el
+++ b/test/lisp/progmodes/lua-ts-mode-tests.el
@@ -26,20 +26,20 @@
(require 'which-func)
(ert-deftest lua-ts-test-indentation ()
- (skip-unless (treesit-ready-p 'lua))
+ (skip-unless (treesit-ready-p 'lua t))
(ert-test-erts-file (ert-resource-file "indent.erts")))
(ert-deftest lua-ts-test-movement ()
- (skip-unless (treesit-ready-p 'lua))
+ (skip-unless (treesit-ready-p 'lua t))
(ert-test-erts-file (ert-resource-file "movement.erts")))
(ert-deftest lua-ts-test-font-lock ()
- (skip-unless (treesit-ready-p 'lua))
+ (skip-unless (treesit-ready-p 'lua t))
(let ((treesit-font-lock-level 4))
(ert-font-lock-test-file (ert-resource-file "font-lock.lua") 'lua-ts-mode)))
(ert-deftest lua-ts-test-which-function ()
- (skip-unless (treesit-ready-p 'lua))
+ (skip-unless (treesit-ready-p 'lua t))
(with-temp-buffer
(insert-file-contents (ert-resource-file "which-function.lua"))
(lua-ts-mode)
--
2.41.0
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#70786
; Package
emacs
.
(Sun, 05 May 2024 13:49:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 70786 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Forgot a semicolon.
[0001-Quietly-skip-lua-ts-mode-tests-bug-70786.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
john muhl <jm <at> pub.pink> writes:
> [1. text/x-patch; 0001-Quietly-skip-lua-ts-mode-tests-bug-70786.patch]...
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#70786
; Package
emacs
.
(Thu, 09 May 2024 03:40:03 GMT)
Full text and
rfc822 format available.
Message #14 received at 70786 <at> debbugs.gnu.org (full text, mbox):
> On May 5, 2024, at 6:46 AM, john muhl <jm <at> pub.pink> wrote:
>
> Forgot a semicolon.
Merged, thanks!
Yuan
bug marked as fixed in version 30.1, send any further explanations to
70786 <at> debbugs.gnu.org and john muhl <jm <at> pub.pink>
Request was from
Yuan Fu <casouri <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Thu, 09 May 2024 04:32:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 06 Jun 2024 11:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.