]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite, tclint] Fix gdb.testsuite
authorTom de Vries <tdevries@suse.de>
Fri, 12 Sep 2025 04:59:57 +0000 (06:59 +0200)
committerTom de Vries <tdevries@suse.de>
Fri, 12 Sep 2025 04:59:57 +0000 (06:59 +0200)
commite0e92df9201212431e02eb649e4942f074c7ecdc
tree4e39cd93f62c1f41233321883ba937d1265b3dfa
parent323d80312bd5fa8b783317a7b14bf6b19caf1062
[gdb/testsuite, tclint] Fix gdb.testsuite

Running tclint on the test-cases in gdb.testsuite shows a few problems:
...
board-sanity.exp:47:38: line has trailing whitespace [trailing-whitespace]
board-sanity.exp:83:1: line has trailing whitespace [trailing-whitespace]
board-sanity.exp:95:38: line has trailing whitespace [trailing-whitespace]
gdb-caching-proc-consistency.exp:66:2: expected braced word or word without \
  substitutions in argument interpreted as expr [command-args]
gdb-caching-proc-consistency.exp:117:12: eval received an argument with a \
  substitution, unable to parse its arguments [command-args]
with-override.exp:53:18: expression with substitutions should be enclosed by \
  braces [unbraced-expr]
with-override.exp:57:18: expression with substitutions should be enclosed by \
  braces [unbraced-expr]
...

Fix these.

Tested on x86_64-linux.
gdb/testsuite/gdb.testsuite/board-sanity.exp
gdb/testsuite/gdb.testsuite/gdb-caching-proc-consistency.exp
gdb/testsuite/gdb.testsuite/with-override.exp