summaryrefslogtreecommitdiff
path: root/sim/testsuite/frv/fr550/allinsn.exp
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/frv/fr550/allinsn.exp')
-rw-r--r--sim/testsuite/frv/fr550/allinsn.exp21
1 files changed, 9 insertions, 12 deletions
diff --git a/sim/testsuite/frv/fr550/allinsn.exp b/sim/testsuite/frv/fr550/allinsn.exp
index 56df37d427d..6b4ce7774cd 100644
--- a/sim/testsuite/frv/fr550/allinsn.exp
+++ b/sim/testsuite/frv/fr550/allinsn.exp
@@ -2,18 +2,15 @@
sim_init
-if [istarget *] {
- # all machines
- set all_machs "fr550"
- set cpu_option -mcpu
+# all machines
+set all_machs "fr550"
+set cpu_option -mcpu
- # The .cgs suffix is for "cgen .s".
- foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] {
- # 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
+# The .cgs suffix is for "cgen .s".
+foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] {
+ # 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
}