From d0b2f561a1e8ef6ecf87a99f220262d58538c750 Mon Sep 17 00:00:00 2001 From: Mike Frysinger <vapier@gentoo.org> Date: Wed, 23 Jun 2021 23:23:27 -0400 Subject: 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. --- sim/testsuite/avr/allinsn.exp | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'sim/testsuite/avr') 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 } -- cgit v1.1