aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/iq2000
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-23 23:23:27 -0400
committerMike Frysinger <vapier@gentoo.org>2022-02-16 00:36:47 -0500
commitd0b2f561a1e8ef6ecf87a99f220262d58538c750 (patch)
tree551de4314e04ce7f888ab2fa58cb34f3912ff482 /sim/testsuite/iq2000
parentbc85f56bfda7162688b9bea8dd942ec473bdb21b (diff)
downloadfsf-binutils-gdb-d0b2f561a1e8ef6ecf87a99f220262d58538c750.zip
fsf-binutils-gdb-d0b2f561a1e8ef6ecf87a99f220262d58538c750.tar.gz
fsf-binutils-gdb-d0b2f561a1e8ef6ecf87a99f220262d58538c750.tar.bz2
sim: testsuite: cleanup the istarget * logic
Now that the multitarget testing has settled, clean up the cases where istarget * is used. This ends up being mostly style unindenting.
Diffstat (limited to 'sim/testsuite/iq2000')
-rw-r--r--sim/testsuite/iq2000/allinsn.exp17
1 files changed, 7 insertions, 10 deletions
diff --git a/sim/testsuite/iq2000/allinsn.exp b/sim/testsuite/iq2000/allinsn.exp
index 30a1c94..554c6ae 100644
--- a/sim/testsuite/iq2000/allinsn.exp
+++ b/sim/testsuite/iq2000/allinsn.exp
@@ -2,16 +2,13 @@
sim_init
-if [istarget *] {
- # all machines
- set all_machs "iq2000"
+# all machines
+set all_machs "iq2000"
- foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
- # If we're only testing specific files and this isn't one of them,
- # skip it.
- if ![runtest_file_p $runtests $src] {
- continue
- }
- run_sim_test $src $all_machs
+foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
+ # If we're only testing specific files and this isn't one of them, skip it.
+ if ![runtest_file_p $runtests $src] {
+ continue
}
+ run_sim_test $src $all_machs
}