diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-23 23:23:27 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-02-16 00:36:47 -0500 |
commit | d0b2f561a1e8ef6ecf87a99f220262d58538c750 (patch) | |
tree | 551de4314e04ce7f888ab2fa58cb34f3912ff482 /sim/testsuite/avr | |
parent | bc85f56bfda7162688b9bea8dd942ec473bdb21b (diff) | |
download | gdb-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/avr')
-rw-r--r-- | sim/testsuite/avr/allinsn.exp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/sim/testsuite/avr/allinsn.exp b/sim/testsuite/avr/allinsn.exp index 56b6e39..4664686 100644 --- a/sim/testsuite/avr/allinsn.exp +++ b/sim/testsuite/avr/allinsn.exp @@ -2,16 +2,13 @@ sim_init -if [istarget *] { - # all machines - set all_machs "avr" +# all machines +set all_machs "avr" - 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 } |