aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/bpf
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/bpf
parentbc85f56bfda7162688b9bea8dd942ec473bdb21b (diff)
downloadgdb-d0b2f561a1e8ef6ecf87a99f220262d58538c750.zip
gdb-d0b2f561a1e8ef6ecf87a99f220262d58538c750.tar.gz
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/bpf')
-rw-r--r--sim/testsuite/bpf/allinsn.exp26
1 files changed, 11 insertions, 15 deletions
diff --git a/sim/testsuite/bpf/allinsn.exp b/sim/testsuite/bpf/allinsn.exp
index 88752b8..98f0346 100644
--- a/sim/testsuite/bpf/allinsn.exp
+++ b/sim/testsuite/bpf/allinsn.exp
@@ -2,23 +2,19 @@
sim_init
-if [istarget *] {
- # all machines
- set all_machs "bpf"
+# all machines
+set all_machs "bpf"
- global SIMFLAGS_FOR_TARGET
- set SIMFLAGS_FOR_TARGET "--memory-size=4Mb"
+global SIMFLAGS_FOR_TARGET
+set SIMFLAGS_FOR_TARGET "--memory-size=4Mb"
- global LDFLAGS_FOR_TARGET
- set LDFLAGS_FOR_TARGET "-Ttext=0x0"
+global LDFLAGS_FOR_TARGET
+set LDFLAGS_FOR_TARGET "-Ttext=0x0"
- 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
}