GNU bug report logs - #67975
c-ts-mode test failure

Previous Next

Package: emacs;

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

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

Severity: normal

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67975 in the body.
You can then email your comments to 67975 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#67975; Package emacs. (Fri, 22 Dec 2023 22:08:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to john muhl <jm <at> pub.pink>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 22 Dec 2023 22:08:02 GMT) Full text and rfc822 format available.

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

From: john muhl <jm <at> pub.pink>
To: bug-gnu-emacs <at> gnu.org
Subject: c-ts-mode test failure
Date: Fri, 22 Dec 2023 14:56:45 -0600
Bisect says the first bad commit is e23068cb9a1

/home/build/emacs/src/emacs -batch -load .emacs -load /home/build/emacs/lisp/progmodes/c-ts-mode.el ert -load /home/build/emacs/test/lisp/progmodes/c-ts-mode-tests.el -eval '(ert-run-tests-batch-and-exit '\''(not (tag :unstable)))'
Running 4 tests (2023-12-22 17:17:50+0000, selector ā€˜(not (tag :unstable))’)
   passed  1/4  c-ts-mode-test-filling (0.011147 sec)
Test c-ts-mode-test-indentation backtrace:
  signal(ert-test-failed (("Mismatch in test \"Declaration List (Names
  ert-fail(("Mismatch in test \"Declaration List (Namespace) (Bug#6163
  ert-test--erts-test(((code lambda nil (c-ts-mode) (setq-local indent
  ert-test-erts-file("/home/build/emacs/test/lisp/progmodes/c-ts-mode-
  (closure (t) nil (let* ((fn-8 #'treesit-ready-p) (args-9 (condition-
  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 (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 c-ts-mode-test-indentation condition:
    (ert-test-failed
     ("Mismatch in test \"Declaration List (Namespace) (Bug#61635)\", file /home/build/emacs/test/lisp/progmodes/c-ts-mode-resources/indent.erts"
      #("namespace test {\nclass Name {\n};\n}\n" 0 35 (fontified nil))
      "namespace test {\n  class Name {\n  };\n}\n"))
   FAILED  2/4  c-ts-mode-test-indentation (0.290517 sec) at emacs/test/lisp/progmodes/c-ts-mode-tests.el:26
   passed  3/4  c-ts-mode-test-indentation-bsd (0.061626 sec)
   passed  4/4  c-ts-mode-test-indentation-preproc (0.020620 sec)

Ran 4 tests, 3 results as expected, 1 unexpected (2023-12-22 17:17:51+0000, 0.508334 sec)

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




Reply sent to Yuan Fu <casouri <at> gmail.com>:
You have taken responsibility. (Sat, 23 Dec 2023 05:28:02 GMT) Full text and rfc822 format available.

Notification sent to john muhl <jm <at> pub.pink>:
bug acknowledged by developer. (Sat, 23 Dec 2023 05:28:02 GMT) Full text and rfc822 format available.

Message #10 received at 67975-done <at> debbugs.gnu.org (full text, mbox):

From: Yuan Fu <casouri <at> gmail.com>
To: john muhl <jm <at> pub.pink>
Cc: 67975-done <at> debbugs.gnu.org
Subject: Re: bug#67975: c-ts-mode test failure
Date: Fri, 22 Dec 2023 21:27:27 -0800

> On Dec 22, 2023, at 12:56 PM, john muhl via Bug reports for GNU Emacs, the Swiss army knife of text editors <bug-gnu-emacs <at> gnu.org> wrote:
> 
> Bisect says the first bad commit is e23068cb9a1

Thank you for bisecting! That helps so much. This problem should be fixed now, and I’m closing this report.

Yuan



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 20 Jan 2024 12:24:21 GMT) Full text and rfc822 format available.

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

Previous Next


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