From unknown Sun Jun 22 00:56:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67975: c-ts-mode test failure Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Dec 2023 22:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67975 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 67975@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170328285926651 (code B ref -1); Fri, 22 Dec 2023 22:08:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Dec 2023 22:07:39 +0000 Received: from localhost ([127.0.0.1]:47995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGngA-0006vn-HR for submit@debbugs.gnu.org; Fri, 22 Dec 2023 17:07:38 -0500 Received: from lists.gnu.org ([2001:470:142::17]:34154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGng7-0006vW-GO for submit@debbugs.gnu.org; Fri, 22 Dec 2023 17:07:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGnfw-0007aZ-R0 for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2023 17:07:24 -0500 Received: from out-181.mta0.migadu.com ([2001:41d0:1004:224b::b5]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGnfu-0006Qo-Ab for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2023 17:07:24 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; s=key1; t=1703282832; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=plO1LgUe+YpRdrZuyDTKL8MlgTHPitHsdkj7pgwRP8c=; b=JFTxu4vDjl759A45R/42LuNqTU5vdXTZtIZI18R9zI2XE5tpRP2xhzNgULEat/vpQ++fbu dJT51d5avDVBE64X5Nj2rHrq9xoBPZJYu5YuGy/iYpaCBPcc4Uu4uUdGWA8aIsF6Upj09n +6Qydmc9WSgtLr2QoBauY5m20lwknd8= From: john muhl Date: Fri, 22 Dec 2023 14:56:45 -0600 Message-ID: <87r0jdvqlv.fsf@pub.pink> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:1004:224b::b5; envelope-from=jm@pub.pink; helo=out-181.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Bisect says the first bad commit is e23068cb9a1 /home/build/emacs/src/emacs -batch -load .emacs -load /home/build/emacs/lis= p/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 :unstab= le)))' Running 4 tests (2023-12-22 17:17:50+0000, selector =E2=80=98(not (tag :uns= table))=E2=80=99) 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))=20 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/lis= p/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 From unknown Sun Jun 22 00:56:09 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: john muhl Subject: bug#67975: closed (Re: bug#67975: c-ts-mode test failure) Message-ID: References: <87r0jdvqlv.fsf@pub.pink> X-Gnu-PR-Message: they-closed 67975 X-Gnu-PR-Package: emacs Reply-To: 67975@debbugs.gnu.org Date: Sat, 23 Dec 2023 05:28:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1703309282-8411-1" This is a multi-part message in MIME format... ------------=_1703309282-8411-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #67975: c-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 67975@debbugs.gnu.org. --=20 67975: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67975 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1703309282-8411-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 67975-done) by debbugs.gnu.org; 23 Dec 2023 05:27:55 +0000 Received: from localhost ([127.0.0.1]:48306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGuYF-0002BI-Jv for submit@debbugs.gnu.org; Sat, 23 Dec 2023 00:27:55 -0500 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:58727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGuYA-0002Ao-MN for 67975-done@debbugs.gnu.org; Sat, 23 Dec 2023 00:27:54 -0500 Received: by mail-pj1-x102f.google.com with SMTP id 98e67ed59e1d1-28bcc273833so2076044a91.1 for <67975-done@debbugs.gnu.org>; Fri, 22 Dec 2023 21:27:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703309260; x=1703914060; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4Mo/Y2UFmXaVpUvbVKd0CVxIxjYVwsqRRzstdbbW7eY=; b=kpKW9tpn8JpsoT4z9GEYaFxkPbnNRN9Y1BgUT/f/zMJ/tAttrbB41eEvsZEBmm/U5m 1IcJTEyFfhgcMsVs2WZsABADT0tAD8plngTQEp19BNDf+OXfnn0x2gxjOdrdaUT6LIlE Fm9pcUHM0rnE6FUBuAGp2e1RD3uaQ5d0Jwj8HBhqI+I1SB7PKZVgUoRI6M6fbN4BA9Ge 388zALCT9ju+DN+DSHQ0PnsW++t/8jOYZqrippoEUZzuvhg0Ali1A1LxnHCD5Zi69OPu YMxBpcYS2saT+PscZqABnKGEn//X+iN/uTheGUgrDeW/qv4odOC01oieO7ntULPUlAsS cPCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703309260; x=1703914060; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4Mo/Y2UFmXaVpUvbVKd0CVxIxjYVwsqRRzstdbbW7eY=; b=KhvLQCRooti0Z4Y09QM1jSKbqpa0xqOAK+xuyqKwcdZEajS6EYGQlJ25o9wHtHp7Jg 65uatvqOxJN6c6GM7+1jTJ9oX3/vJOvduFXscpIJbr81ZXvDOPPPHsiiNbIBDJ9Cy6ky XvDCheQnogwhh+PyZnSlny9KsCsg+7XcZiZXUMh2AIDqFKK81cTkbhAi1+FNxIy0oGh/ spFwlx3D1uPpl+pER11maRziiR3fzRPUzAwYSXkBkDpQVsvwu9jLSd96ICUVfLAxUweL YwajfQCgW9oh/H7IqTsyrWYVFgW5Skd4rLJuxGwvowg+P31E8TAp1zD6NMZEvZkr/RMd 3m8Q== X-Gm-Message-State: AOJu0YzU7sNrg63vYqxlt0vpCvuPjZ0WaefnLyJvgWvNxNrSytjHC/kC znfAlmPXmJChWhtmV0Qz3W4= X-Google-Smtp-Source: AGHT+IG8c6zwv+Arn5/COR4q23y6dOt8h7Bu4HEzmwBnTd/phrgjk3vzi1yiwoO5kBTVILNvouW4iA== X-Received: by 2002:a17:90b:4a01:b0:28b:c0ed:cba3 with SMTP id kk1-20020a17090b4a0100b0028bc0edcba3mr1594018pjb.89.1703309259749; Fri, 22 Dec 2023 21:27:39 -0800 (PST) Received: from smtpclient.apple (172-117-161-177.res.spectrum.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id hf17-20020a17090aff9100b0028c2b52d132sm539264pjb.13.2023.12.22.21.27.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Dec 2023 21:27:39 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: bug#67975: c-ts-mode test failure From: Yuan Fu In-Reply-To: <87r0jdvqlv.fsf@pub.pink> Date: Fri, 22 Dec 2023 21:27:27 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <87r0jdvqlv.fsf@pub.pink> To: john muhl X-Mailer: Apple Mail (2.3731.700.6) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67975-done Cc: 67975-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Dec 22, 2023, at 12:56 PM, john muhl via Bug reports for GNU Emacs, = the Swiss army knife of text editors wrote: >=20 > Bisect says the first bad commit is e23068cb9a1 Thank you for bisecting! That helps so much. This problem should be = fixed now, and I=E2=80=99m closing this report. Yuan= ------------=_1703309282-8411-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Dec 2023 22:07:39 +0000 Received: from localhost ([127.0.0.1]:47995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGngA-0006vn-HR for submit@debbugs.gnu.org; Fri, 22 Dec 2023 17:07:38 -0500 Received: from lists.gnu.org ([2001:470:142::17]:34154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGng7-0006vW-GO for submit@debbugs.gnu.org; Fri, 22 Dec 2023 17:07:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGnfw-0007aZ-R0 for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2023 17:07:24 -0500 Received: from out-181.mta0.migadu.com ([2001:41d0:1004:224b::b5]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGnfu-0006Qo-Ab for bug-gnu-emacs@gnu.org; Fri, 22 Dec 2023 17:07:24 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; s=key1; t=1703282832; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=plO1LgUe+YpRdrZuyDTKL8MlgTHPitHsdkj7pgwRP8c=; b=JFTxu4vDjl759A45R/42LuNqTU5vdXTZtIZI18R9zI2XE5tpRP2xhzNgULEat/vpQ++fbu dJT51d5avDVBE64X5Nj2rHrq9xoBPZJYu5YuGy/iYpaCBPcc4Uu4uUdGWA8aIsF6Upj09n +6Qydmc9WSgtLr2QoBauY5m20lwknd8= From: john muhl To: bug-gnu-emacs@gnu.org Subject: c-ts-mode test failure Date: Fri, 22 Dec 2023 14:56:45 -0600 Message-ID: <87r0jdvqlv.fsf@pub.pink> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:1004:224b::b5; envelope-from=jm@pub.pink; helo=out-181.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Bisect says the first bad commit is e23068cb9a1 /home/build/emacs/src/emacs -batch -load .emacs -load /home/build/emacs/lis= p/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 :unstab= le)))' Running 4 tests (2023-12-22 17:17:50+0000, selector =E2=80=98(not (tag :uns= table))=E2=80=99) 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))=20 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/lis= p/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 ------------=_1703309282-8411-1--