From: "Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: "Augustin Chéneau" <btuin@mailo.com>
Cc: 66312@debbugs.gnu.org
Subject: bug#66312: 30.0.50; erts-run-test always fails
Date: Sat, 18 May 2024 21:52:54 +0000 [thread overview]
Message-ID: <87y186zt1t.fsf@kubajecminek.cz> (raw)
In-Reply-To: <57f4c555-f0a2-4630-9a92-b10a740535c1@mailo.com>
Augustin Chéneau (BTuin) <btuin@mailo.com> writes:
> Every time I try to use the command `erts-run-test' in erts files (such
> as emacs/test/lisp/progmodes/java-ts-mode-resources/indent.erts), it
> fails with the message "No name for test case". The culprits lies in
> `ert-test--erts-test' which depends on the result of a regex search run in
> another function (with match-beginning).
>
> It probably works in batch mode (I don't know how to use it), but in
> erts-mode the search is not executed so the function is not run correctly and
> fails.
>
> By the way, is there any resource about running erts files? I looked in
> the ERT manual, but there is only information on writing erts files and
> executing regular ERT files.
If you want to run the tests you mentioned, you should evaluate
'java-ts-mode-tests.el' file (which loads erts resources) and then do
M-x ert RET t RET. Or you can run individual tests using C-c C-c in
erts-mode with the cursor at test.
Best
Jakub
prev parent reply other threads:[~2024-05-18 21:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-02 19:25 bug#66312: 30.0.50; erts-run-test always fails Augustin Chéneau
2024-05-18 21:52 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y186zt1t.fsf@kubajecminek.cz \
--to=bug-gnu-emacs@gnu.org \
--cc=66312@debbugs.gnu.org \
--cc=btuin@mailo.com \
--cc=kuba@kubajecminek.cz \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.