Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [pushed 1/2] [gdb/testsuite] Fix check-file-mode errors
@ 2026-07-17 22:31 Tom de Vries
  2026-07-17 22:31 ` [pushed 2/2] [gdb/testsuite] Fix tclint errors Tom de Vries
  0 siblings, 1 reply; 2+ messages in thread
From: Tom de Vries @ 2026-07-17 22:31 UTC (permalink / raw)
  To: gdb-patches

Fix check-file-mode errors in a few files.
---
 gdb/testsuite/gdb.base/var-shadowing.c   | 0
 gdb/testsuite/gdb.base/var-shadowing.exp | 0
 gdb/testsuite/gdb.rust/var_reuse.exp     | 0
 gdb/testsuite/gdb.rust/var_reuse.rs      | 0
 4 files changed, 0 insertions(+), 0 deletions(-)
 mode change 100755 => 100644 gdb/testsuite/gdb.base/var-shadowing.c
 mode change 100755 => 100644 gdb/testsuite/gdb.base/var-shadowing.exp
 mode change 100755 => 100644 gdb/testsuite/gdb.rust/var_reuse.exp
 mode change 100755 => 100644 gdb/testsuite/gdb.rust/var_reuse.rs

diff --git a/gdb/testsuite/gdb.base/var-shadowing.c b/gdb/testsuite/gdb.base/var-shadowing.c
old mode 100755
new mode 100644
diff --git a/gdb/testsuite/gdb.base/var-shadowing.exp b/gdb/testsuite/gdb.base/var-shadowing.exp
old mode 100755
new mode 100644
diff --git a/gdb/testsuite/gdb.rust/var_reuse.exp b/gdb/testsuite/gdb.rust/var_reuse.exp
old mode 100755
new mode 100644
diff --git a/gdb/testsuite/gdb.rust/var_reuse.rs b/gdb/testsuite/gdb.rust/var_reuse.rs
old mode 100755
new mode 100644

base-commit: 6972c12631dc51de151b04fc31b0eaa91d3ccc05
-- 
2.51.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pushed 2/2] [gdb/testsuite] Fix tclint errors
  2026-07-17 22:31 [pushed 1/2] [gdb/testsuite] Fix check-file-mode errors Tom de Vries
@ 2026-07-17 22:31 ` Tom de Vries
  0 siblings, 0 replies; 2+ messages in thread
From: Tom de Vries @ 2026-07-17 22:31 UTC (permalink / raw)
  To: gdb-patches

Fix tclint errors in a few files.
---
 gdb/testsuite/gdb.base/var-shadowing.exp  | 4 ++--
 gdb/testsuite/gdb.mi/mi-var-shadowing.exp | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

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 <http://www.gnu.org/licenses/>.
 
 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
 }
 
-- 
2.51.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-17 22:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-17 22:31 [pushed 1/2] [gdb/testsuite] Fix check-file-mode errors Tom de Vries
2026-07-17 22:31 ` [pushed 2/2] [gdb/testsuite] Fix tclint errors Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox