From: john muhl <jm@pub.pink>
To: Theodor Thornhill <theo@thornhill.no>
Cc: Eli Zaretskii <eliz@gnu.org>, 71998@debbugs.gnu.org
Subject: bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure
Date: Sun, 21 Jul 2024 13:20:25 -0500 [thread overview]
Message-ID: <87jzhe1uae.fsf@pub.pink> (raw)
In-Reply-To: <871q3mkiko.fsf@thornhill.no> (Theodor Thornhill's message of "Sun, 21 Jul 2024 14:58:31 +0200")
[-- Attachment #1: Type: text/plain, Size: 454 bytes --]
Theodor Thornhill <theo@thornhill.no> writes:
> I now synced to latest master, and I can no longer reproduce this. John,
> do you still see an issue after syncing with master?
I have been testing the emacs-30 branch and still see it there as
of 68615a38669.
On master (ccb856189f4) there are segfaults running the tests for
typescript, c, java and ruby -ts-modes caused by 1abf3bdd7ed.
With that reverted I get the same test failure as on emacs-30.
[-- Attachment #2: typescript-ts-mode-tests.log --]
[-- Type: text/plain, Size: 2308 bytes --]
Running 1 tests (2024-07-21 11:55:33-0500, selector `(not (or (tag :expensive-test) (tag :unstable) (tag :nativecomp)))')
Test typescript-ts-mode-test-indentation backtrace:
signal(ert-test-failed (("Mismatch in test \"JSX indentation\", file
ert-fail(("Mismatch in test \"JSX indentation\", file /home/build/em
ert-test--erts-test(((code lambda nil (setq indent-tabs-mode nil) (s
ert-test-erts-file("/home/build/emacs-build/src-minimal/test/lisp/pr
#f(compiled-function () #<bytecode 0x14a5cebb>)()
#f(compiled-function () #<bytecode 0x11e6b718>)()
handler-bind-1(#f(compiled-function () #<bytecode 0x11e6b718>) (erro
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name typescript-ts-mode-test-indentation :
ert-run-or-rerun-test(#s(ert--stats :selector (not (or (tag :expensi
ert-run-tests((not (or (tag :expensive-test) (tag :unstable) (tag :n
ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable) (
ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) (
command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-l
command-line()
normal-top-level()
Test typescript-ts-mode-test-indentation condition:
(ert-test-failed
("Mismatch in test \"JSX indentation\", file /home/build/emacs-build/src-minimal/test/lisp/progmodes/typescript-ts-mode-resources/indent.erts"
#("const foo = (props) => {\n return (\n <div>\n <div>\n <div>\n <div>\n {\n props.foo\n\11? Hello, foo!\n\11: Hello, World!;\n }\n </div>\n </div>\n </div>\n </div>\n );\n}\n"
40 41 (syntax-table (15)) 179 180 (syntax-table (15)))
"const foo = (props) => {\n return (\n <div>\n <div>\n <div>\n <div>\n {\n props.foo\n ? Hello, foo!\n : Hello, World!;\n }\n </div>\n </div>\n </div>\n </div>\n );\n}\n"))
FAILED 1/1 typescript-ts-mode-test-indentation (0.503101 sec) at lisp/progmodes/typescript-ts-mode-tests.el:26
Ran 1 tests, 0 results as expected, 1 unexpected (2024-07-21 11:55:33-0500, 0.690149 sec)
1 unexpected results:
FAILED typescript-ts-mode-test-indentation
next prev parent reply other threads:[~2024-07-21 18:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-08 15:11 bug#71998: 31.0.50; Typescript grammar v0.21.2 causes test failure john muhl
2024-07-08 15:18 ` Stefan Kangas
2024-07-16 23:59 ` john muhl
2024-07-20 8:52 ` Eli Zaretskii
2024-07-20 10:01 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-20 10:25 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-21 12:58 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-21 18:20 ` john muhl [this message]
2024-07-21 18:34 ` Eli Zaretskii
2024-07-21 22:23 ` john muhl
2024-07-22 0:04 ` 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=87jzhe1uae.fsf@pub.pink \
--to=jm@pub.pink \
--cc=71998@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=theo@thornhill.no \
/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).