GNU bug report logs - #67976
java-ts-mode test failure

Previous Next

Package: emacs;

Reported by: john muhl <jm <at> pub.pink>

Date: Fri, 22 Dec 2023 22:08:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: john muhl <jm <at> pub.pink>
Subject: bug#67976: closed (Re: bug#67976: java-ts-mode test failure)
Date: Sat, 06 Jan 2024 09:05:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#67976: java-ts-mode test failure

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 67976 <at> debbugs.gnu.org.

-- 
67976: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67976
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: john muhl <jm <at> pub.pink>
Cc: casouri <at> gmail.com, theo <at> thornhill.no, 67976-done <at> debbugs.gnu.org
Subject: Re: bug#67976: java-ts-mode test failure
Date: Sat, 06 Jan 2024 11:04:13 +0200
> Cc: Yuan Fu <casouri <at> gmail.com>, 67976 <at> debbugs.gnu.org
> Date: Sat, 30 Dec 2023 13:18:39 -0600
> From:  john muhl via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> It looks like 9874561f39e got reverted so the tests pass again.

Thanks, I'm therefore closing this bug.

[Message part 3 (message/rfc822, inline)]
From: john muhl <jm <at> pub.pink>
To: bug-gnu-emacs <at> gnu.org
Subject: java-ts-mode test failure
Date: Fri, 22 Dec 2023 15:09:02 -0600
Bisect says the first bad commit is 9874561f39e

/home/build/emacs/src/emacs -batch -load .emacs -load /home/build/emacs/lisp/progmodes/java-ts-mode.el ert -load /home/build/emacs/test/lisp/progmodes/java-ts-mode-tests.el -eval '(ert-run-tests-batch-and-exit '\''(not (tag :unstable)))'
Running 2 tests (2023-12-22 19:05:47+0000, selector ‘(not (tag :unstable))’)
Test java-ts-mode-test-indentation backtrace:
  signal(ert-test-failed (("Mismatch in test \"Statements\", file /hom
  ert-fail(("Mismatch in test \"Statements\", file /home/build/emacs/t
  ert-test--erts-test(((code lambda nil (setq indent-tabs-mode nil) (s
  ert-test-erts-file("/home/build/emacs/test/lisp/progmodes/java-ts-mo
  (closure (t) nil (let* ((fn-0 #'treesit-ready-p) (args-1 (condition-
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name java-ts-mode-test-indentation :docume
  ert-run-or-rerun-test(#s(ert--stats :selector (not (tag :unstable)) 
  ert-run-tests((not (tag :unstable)) #f(compiled-function (event-type
  ert-run-tests-batch((not (tag :unstable)))
  ert-run-tests-batch-and-exit((not (tag :unstable)))
  eval((ert-run-tests-batch-and-exit '(not (tag :unstable))) t)
  command-line-1(("-load" ".emacs" "-load" "/home/build/emacs/lisp/pro
  command-line()
  normal-top-level()
Test java-ts-mode-test-indentation condition:
    (ert-test-failed
     ("Mismatch in test \"Statements\", file /home/build/emacs/test/lisp/progmodes/java-ts-mode-resources/indent.erts"
      #(
	"if (x) {\n    for (var foo : foos) {\n        \n    }\n} else if (y) {\n\11for (int i = 0; x < foos.size(); i++) {\n            return;\n\11}\n    } else {\n\11return;\n    }\n"
	0 159 (fontified nil))
    "if (x) {\n    for (var foo : foos) {\n        \n    }\n} else if (y) {\n    for (int i = 0; x < foos.size(); i++) {\n        return;\n    }\n} else {\n    return;\n}\n"))
   FAILED  1/2  java-ts-mode-test-indentation (0.010839 sec) at emacs/test/lisp/progmodes/java-ts-mode-tests.el:26
   passed  2/2  java-ts-mode-test-movement (0.004179 sec)

Ran 2 tests, 1 results as expected, 1 unexpected (2023-12-22 19:05:47+0000, 0.134714 sec)

1 unexpected results:
   FAILED  java-ts-mode-test-indentation



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

Previous Next


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