From: Tom de Vries Date: Fri, 17 Jul 2026 22:30:57 +0000 (+0200) Subject: [gdb/testsuite] Fix tclint errors X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ba5cdc8680d25789ca507a73a3ed91741ff646c;p=thirdparty%2Fbinutils-gdb.git [gdb/testsuite] Fix tclint errors Fix tclint errors in a few files. --- diff --git a/gdb/testsuite/gdb.base/var-shadowing.exp b/gdb/testsuite/gdb.base/var-shadowing.exp index 119b8c39d4a..502cbad11f6 100644 --- a/gdb/testsuite/gdb.base/var-shadowing.exp +++ b/gdb/testsuite/gdb.base/var-shadowing.exp @@ -14,11 +14,11 @@ # along with this program. If not, see . standard_testfile -if [prepare_for_testing "failed to prepare" $testfile $srcfile] { +if {[prepare_for_testing "failed to prepare" $testfile $srcfile]} { return } -if ![runto_main] { +if {![runto_main]} { return } diff --git a/gdb/testsuite/gdb.mi/mi-var-shadowing.exp b/gdb/testsuite/gdb.mi/mi-var-shadowing.exp index 3c0dbc2884c..48a313be290 100644 --- a/gdb/testsuite/gdb.mi/mi-var-shadowing.exp +++ b/gdb/testsuite/gdb.mi/mi-var-shadowing.exp @@ -17,14 +17,14 @@ load_lib mi-support.exp set MIFLAGS "-i=mi" gdb_exit -if [mi_gdb_start] { +if {[mi_gdb_start]} { continue } standard_testfile set opts {debug} -if [build_executable ${testfile}.exp ${testfile} ${srcfile} $opts] { +if {[build_executable ${testfile}.exp ${testfile} ${srcfile} $opts]} { return }