aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-05-16 00:32:09 +0000
committerDoug Evans <dje@google.com>1998-05-16 00:32:09 +0000
commit882d99e4b63e43ea59973e589a2f4d3dfd7a7f1e (patch)
treee2257e4c8385110139d542762724f2302ef5d6c6
parenta8981d675148f40b4ee3067fbc5d12cd059a5f78 (diff)
downloadfsf-binutils-gdb-882d99e4b63e43ea59973e589a2f4d3dfd7a7f1e.zip
fsf-binutils-gdb-882d99e4b63e43ea59973e589a2f4d3dfd7a7f1e.tar.gz
fsf-binutils-gdb-882d99e4b63e43ea59973e589a2f4d3dfd7a7f1e.tar.bz2
* sim/m32r/allinsn.exp: Pass --m32rx-enable-special to gas.
* sim/m32r/misc.exp: Ditto.
-rw-r--r--sim/testsuite/ChangeLog7
-rw-r--r--sim/testsuite/sim/m32r/allinsn.exp22
-rw-r--r--sim/testsuite/sim/m32r/misc.exp22
3 files changed, 51 insertions, 0 deletions
diff --git a/sim/testsuite/ChangeLog b/sim/testsuite/ChangeLog
index 4015fa2..1a116b4 100644
--- a/sim/testsuite/ChangeLog
+++ b/sim/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+start-sanitize-m32rx
+Fri May 15 17:31:15 1998 Doug Evans <devans@seba.cygnus.com>
+
+ * sim/m32r/allinsn.exp: Pass --m32rx-enable-special to gas.
+ * sim/m32r/misc.exp: Ditto.
+
+end-sanitize-m32rx
Thu May 14 11:48:35 1998 Doug Evans <devans@canuck.cygnus.com>
* config/default.exp (CC,SIM): Delete.
diff --git a/sim/testsuite/sim/m32r/allinsn.exp b/sim/testsuite/sim/m32r/allinsn.exp
new file mode 100644
index 0000000..3f63ace
--- /dev/null
+++ b/sim/testsuite/sim/m32r/allinsn.exp
@@ -0,0 +1,22 @@
+# M32R simulator testsuite.
+
+if [istarget m32r*-*-*] {
+ # load support procs
+ # load_lib cgen.exp
+
+ # start-sanitize-m32rx
+ # FIXME: This should live in common place.
+ set opts(as,m32rx) "-m32rx --m32rx-enable-special"
+ # end-sanitize-m32rx
+
+ # 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
+ }
+}
diff --git a/sim/testsuite/sim/m32r/misc.exp b/sim/testsuite/sim/m32r/misc.exp
new file mode 100644
index 0000000..38fe0a1
--- /dev/null
+++ b/sim/testsuite/sim/m32r/misc.exp
@@ -0,0 +1,22 @@
+# Miscellaneous M32R simulator testcases
+
+if [istarget m32r*-*-*] {
+ # load support procs
+ # load_lib cgen.exp
+
+ # start-sanitize-m32rx
+ # FIXME: This should live in common place.
+ set opts(as,m32rx) "-m32rx --m32rx-enable-special"
+ # end-sanitize-m32rx
+
+ # The .ms suffix is for "miscellaneous .s".
+ foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.ms]] {
+ # 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
+ }
+}