From 0fda9cf59d246d73ee26f6af6fa0a4c6757c9e73 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Tue, 30 Sep 2025 21:32:49 +0200 Subject: [PATCH] [gdb/testsuite, tclint] Document some tclint issues in tclint.toml While tclint-cleaning gdb testsuite directories I ran into a few issues, which I filed upstream. Mention them in gdb/tclint.toml. --- gdb/tclint.toml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/gdb/tclint.toml b/gdb/tclint.toml index 47c3ce459e6..62e522c1764 100644 --- a/gdb/tclint.toml +++ b/gdb/tclint.toml @@ -13,7 +13,21 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# Configuration file for tclint ( https://github.com/nmoroze/tclint ). +# Configuration file for the tclint and tclfmt tools from the tclint package +# ( https://github.com/nmoroze/tclint ). +# +# Eventually we'd like to move these settings to pyproject.toml, but currently +# that's not possible. See this tclint issue ( +# https://github.com/nmoroze/tclint/issues/120 ). +# +# Issues related to using the tclint tool in the gdb testsuite: +# - tclint does not support expect. +# https://github.com/nmoroze/tclint/issues/118 +# - tclint doesn't inspect code passed as arguments to gdb testsuite specific +# commands like with_test_prefix. +# https://github.com/nmoroze/tclint/issues/121 +# - tclint ignores splat ({*}$foo) when checking number of arguments +# https://github.com/nmoroze/tclint/issues/122 exclude = [ # TODO: -- 2.47.3