From: Yuan Fu <casouri@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: master 44fcd37a486 08/11: Add more c-ts-mode indent tests
Date: Wed, 4 Dec 2024 22:50:14 -0800 [thread overview]
Message-ID: <AB0F3BE7-2903-4A63-A5F8-507629CA3119@gmail.com> (raw)
In-Reply-To: <87plm7zwqx.fsf@gmx.de>
> On Dec 4, 2024, at 12:19 AM, Michael Albinus <michael.albinus@gmx.de> wrote:
>
> Yuan Fu <casouri@gmail.com> writes:
>
> Hi Yuan,
>
>> branch: master
>> commit 44fcd37a486399be048fb03b9456497af78632fe
>> Author: Yuan Fu <casouri@gmail.com>
>> Commit: Yuan Fu <casouri@gmail.com>
>>
>> Add more c-ts-mode indent tests
>
> This fails on emba:
>
> --8<---------------cut here---------------start------------->8---
> Running 4 tests (2024-12-04 01:34:21+0000, selector `(and (not (or (tag :unstable) (tag :nativecomp))) (or "^treesit" "-ts-"))')
> passed 1/4 c-ts-mode-test-filling (0.242501 sec)
> Test c-ts-mode-test-indentation backtrace:
> signal(ert-test-failed (("Mismatch in test \"For Loop with Multi-lin
> ert-fail(("Mismatch in test \"For Loop with Multi-line Condition (GN
> ert-test--erts-test(((code lambda nil (c-ts-mode) (setq-local indent
> ert-test-erts-file("/checkout/test/lisp/progmodes/c-ts-mode-resource
> #f(compiled-function () #<bytecode 0x165c4c7bd62c9ac5>)()
> #f(compiled-function () #<bytecode -0x13aaedb12a291e2f>)()
> handler-bind-1(#f(compiled-function () #<bytecode -0x13aaedb12a291e2
> ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
> ert-run-test(#s(ert-test :name c-ts-mode-test-indentation :documenta
> ert-run-or-rerun-test(#s(ert--stats :selector (and (not ...) (or "^t
> ert-run-tests((and (not (or (tag :unstable) (tag :nativecomp))) (or
> ert-run-tests-batch((and (not (or (tag :unstable) (tag :nativecomp))
> ert-run-tests-batch-and-exit((and (not (or (tag :unstable) (tag :nat
> eval((ert-run-tests-batch-and-exit '(and (not (or (tag :unstable) (t
> command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-l
> command-line()
> normal-top-level()
> Test c-ts-mode-test-indentation condition:
> (ert-test-failed
> ("Mismatch in test \"For Loop with Multi-line Condition (GNU Style)\", file /checkout/test/lisp/progmodes/c-ts-mode-resources/indent.erts"
> #("int main()\n{\n for (\n int i = 0;\n i < b;\n i++\n )\n {\n return 0;\n }\n}\n"
> 0 108 (fontified nil))
> "int main()\n{\n for (\n int i = 0;\n i < b;\n i++\n )\n {\n return 0;\n }\n}\n"))
> FAILED 2/4 c-ts-mode-test-indentation (0.132145 sec) at lisp/progmodes/c-ts-mode-tests.el:26
> passed 3/4 c-ts-mode-test-indentation-bsd (0.087755 sec)
> passed 4/4 c-ts-mode-test-indentation-preproc (0.049779 sec)
>
> Ran 4 tests, 3 results as expected, 1 unexpected (2024-12-04 01:34:23+0000, 1.849321 sec)
> --8<---------------cut here---------------end--------------->8---
>
> See <https://emba.gnu.org/emacs/emacs/-/jobs/93972/raw>.
>
> Best regards, Michael.
This is baffling. I assume the pipeline build the latest tree-sitter-c/cpp grammar right? I just updated my grammar and tree-sitter lib to the latest and the tests still pass on my machine. Is tree-sitter version also the latest?
Yuan
next prev parent reply other threads:[~2024-12-05 6:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <173310542049.252624.8341603519407599366@vcs3.savannah.gnu.org>
[not found] ` <20241202021023.2C8B8521785@vcs3.savannah.gnu.org>
2024-12-02 21:02 ` master 63d69bd1549 07/11: Use new baseline indent rule in c-ts-mode Andrea Corallo
2024-12-03 0:38 ` Yuan Fu
2024-12-03 8:05 ` Andrea Corallo
[not found] ` <20241202021023.5060A521787@vcs3.savannah.gnu.org>
2024-12-04 8:19 ` master 44fcd37a486 08/11: Add more c-ts-mode indent tests Michael Albinus
2024-12-05 6:50 ` Yuan Fu [this message]
2024-12-05 7:37 ` Michael Albinus
2024-12-06 7:30 ` Yuan Fu
2024-12-07 1:04 ` Yuan Fu
2024-12-07 7:49 ` Eli Zaretskii
2024-12-11 6:15 ` Yuan Fu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AB0F3BE7-2903-4A63-A5F8-507629CA3119@gmail.com \
--to=casouri@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).