summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/m68hc11/allinsn.exp
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/sim/m68hc11/allinsn.exp')
-rw-r--r--sim/testsuite/sim/m68hc11/allinsn.exp15
1 files changed, 15 insertions, 0 deletions
diff --git a/sim/testsuite/sim/m68hc11/allinsn.exp b/sim/testsuite/sim/m68hc11/allinsn.exp
new file mode 100644
index 00000000000..db0cbd5d467
--- /dev/null
+++ b/sim/testsuite/sim/m68hc11/allinsn.exp
@@ -0,0 +1,15 @@
+# m68hc11 simulator testsuite
+
+if [istarget m68hc11-*] {
+ # all machines
+ set all_machs "m68hc11"
+
+ 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
+ }
+}