summaryrefslogtreecommitdiff
path: root/sim/testsuite/frv/allinsn.exp
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/frv/allinsn.exp')
-rw-r--r--sim/testsuite/frv/allinsn.exp19
1 files changed, 19 insertions, 0 deletions
diff --git a/sim/testsuite/frv/allinsn.exp b/sim/testsuite/frv/allinsn.exp
new file mode 100644
index 00000000000..b7f9fe2ad06
--- /dev/null
+++ b/sim/testsuite/frv/allinsn.exp
@@ -0,0 +1,19 @@
+# FRV simulator testsuite.
+
+if [istarget frv*-*] {
+ # load support procs (none yet)
+ # load_lib cgen.exp
+ # 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/*.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
+ }
+}