aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.reverse/i386-sse-reverse.exp
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2022-11-14 14:20:53 +0000
committerAndrew Burgess <aburgess@redhat.com>2022-11-28 21:04:09 +0000
commitbde43e8dbeaf4c9b05514f0c749623db453747bb (patch)
tree503dc5f53f91f5367401f15522dfa10885abbc09 /gdb/testsuite/gdb.reverse/i386-sse-reverse.exp
parent89c6d320b24567b6385e9dd92b3d4671c9796143 (diff)
downloadgdb-bde43e8dbeaf4c9b05514f0c749623db453747bb.zip
gdb-bde43e8dbeaf4c9b05514f0c749623db453747bb.tar.gz
gdb-bde43e8dbeaf4c9b05514f0c749623db453747bb.tar.bz2
gdb/testsuite: remove use of then keyword from gdb.reverse/*.exp
The canonical form of 'if' in modern TCL is 'if {} {}'. But there's still a bunch of places in the testsuite where we make use of the 'then' keyword, and sometimes these get copies into new tests, which just spreads poor practice. This commit removes all use of the 'then' keyword from the gdb.reverse/ test script directory. There should be no changes in what is tested after this commit.
Diffstat (limited to 'gdb/testsuite/gdb.reverse/i386-sse-reverse.exp')
-rw-r--r--gdb/testsuite/gdb.reverse/i386-sse-reverse.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.reverse/i386-sse-reverse.exp b/gdb/testsuite/gdb.reverse/i386-sse-reverse.exp
index 9713e89..ac56cd4 100644
--- a/gdb/testsuite/gdb.reverse/i386-sse-reverse.exp
+++ b/gdb/testsuite/gdb.reverse/i386-sse-reverse.exp
@@ -24,7 +24,7 @@ if ![supports_reverse] {
}
-if ![istarget "*86*-*linux*"] then {
+if {![istarget "*86*-*linux*"]} {
verbose "Skipping i386 reverse tests."
return
}