GNU bug report logs - #66312
30.0.50; erts-run-test always fails

Previous Next

Package: emacs;

Reported by: Augustin Chéneau (BTuin) <btuin <at> mailo.com>

Date: Mon, 2 Oct 2023 19:27:01 UTC

Severity: normal

Found in version 30.0.50

Full log


Message #8 received at 66312 <at> debbugs.gnu.org (full text, mbox):

From: Jakub Ječmínek <kuba <at> kubajecminek.cz>
To: Augustin Chéneau <btuin <at> mailo.com>
Cc: 66312 <at> debbugs.gnu.org
Subject: Re: bug#66312: 30.0.50; erts-run-test always fails
Date: Sat, 18 May 2024 21:52:54 +0000
Augustin Chéneau (BTuin) <btuin <at> 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





This bug report was last modified 1 year and 31 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.