diff options
Diffstat (limited to 'sim/testsuite/h8300/allinsn.exp')
-rw-r--r-- | sim/testsuite/h8300/allinsn.exp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/sim/testsuite/h8300/allinsn.exp b/sim/testsuite/h8300/allinsn.exp index f270661..4f0e6db 100644 --- a/sim/testsuite/h8300/allinsn.exp +++ b/sim/testsuite/h8300/allinsn.exp @@ -2,16 +2,12 @@ sim_init -if {[istarget *]} { - set all_machs "h8300 h8300h h8300s h8sx" +set all_machs "h8300 h8300h h8300s h8sx" - 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 } |