aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/frv/allinsn-m.exp
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/frv/allinsn-m.exp')
-rw-r--r--sim/testsuite/frv/allinsn-m.exp17
1 files changed, 17 insertions, 0 deletions
diff --git a/sim/testsuite/frv/allinsn-m.exp b/sim/testsuite/frv/allinsn-m.exp
new file mode 100644
index 0000000..e3733e0
--- /dev/null
+++ b/sim/testsuite/frv/allinsn-m.exp
@@ -0,0 +1,17 @@
+# FRV simulator testsuite.
+
+sim_init
+
+# all machines
+set all_machs "frv fr500 fr550 fr400 fr405 fr450"
+set cpu_option -mcpu
+
+# The .cgs suffix is for "cgen .s".
+foreach src [lsort [glob -nocomplain $srcdir/$subdir/\[m\]*.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
+}