From: Tom de Vries Date: Tue, 30 Sep 2025 19:32:49 +0000 (+0200) Subject: [gdb/testsuite, tclint] Document some tclint issues in tclint.toml X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0fda9cf59d246d73ee26f6af6fa0a4c6757c9e73;p=thirdparty%2Fbinutils-gdb.git [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. --- 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: