summaryrefslogtreecommitdiff
path: root/sim/testsuite/m32c/allinsn.exp
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/m32c/allinsn.exp')
-rw-r--r--sim/testsuite/m32c/allinsn.exp17
1 files changed, 7 insertions, 10 deletions
diff --git a/sim/testsuite/m32c/allinsn.exp b/sim/testsuite/m32c/allinsn.exp
index c979514f5dd..4df54fb8c8f 100644
--- a/sim/testsuite/m32c/allinsn.exp
+++ b/sim/testsuite/m32c/allinsn.exp
@@ -3,16 +3,13 @@
sim_init
-if [istarget *] {
- # all machines
- set all_machs "m32c"
+# all machines
+set all_machs "m32c"
- 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
}