diff options
Diffstat (limited to 'sim/testsuite/msp430/allinsn.exp')
-rw-r--r-- | sim/testsuite/msp430/allinsn.exp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/sim/testsuite/msp430/allinsn.exp b/sim/testsuite/msp430/allinsn.exp index 888afa9..ee56936 100644 --- a/sim/testsuite/msp430/allinsn.exp +++ b/sim/testsuite/msp430/allinsn.exp @@ -2,16 +2,13 @@ sim_init -if [istarget *] { - # all machines - set all_machs "msp430" +# all machines +set all_machs "msp430" - 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 } |