aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1997-12-18 16:04:14 +0000
committerNick Clifton <nickc@redhat.com>1997-12-18 16:04:14 +0000
commit17f0d950f1a5343a9f57122d90e5f7e410949695 (patch)
tree698bc2d683979f56843ce87205dff5d5c2b3446e /gas
parent2a0b2e7f7b6ce17cf66c18ea721ef26d93dd1257 (diff)
downloadgdb-17f0d950f1a5343a9f57122d90e5f7e410949695.zip
gdb-17f0d950f1a5343a9f57122d90e5f7e410949695.tar.gz
gdb-17f0d950f1a5343a9f57122d90e5f7e410949695.tar.bz2
Files for testing m32rx instruction set.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/m32r/.Sanitize14
-rw-r--r--gas/testsuite/gas/m32r/m32rx.exp5
3 files changed, 23 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index d3599f2..99b1ceb 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,9 @@
Thu Dec 18 11:10:42 1997 Nick Clifton <nickc@cygnus.com>
+ * gas/m32r/m32rx.d: New file.
+ * gas/m32r/m32rx.s: New file.
+ * gas/m32r/m32rx.exp: New file.
+
* gas/arm/inst.d: Updated to match latest disassembler changes.
* gas/arm/arm7t.d: Updated to match latest disassembler changes.
diff --git a/gas/testsuite/gas/m32r/.Sanitize b/gas/testsuite/gas/m32r/.Sanitize
index 59b31ec..fc2a2cd 100644
--- a/gas/testsuite/gas/m32r/.Sanitize
+++ b/gas/testsuite/gas/m32r/.Sanitize
@@ -15,6 +15,13 @@
Do-first:
+m32rx_files="m32rx.s m32rx.d m32rx.exp"
+if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
+ keep_these_too="${m32rx_files} ${keep_these_too}"
+else
+ lose_these_too="${m32rx_files} ${lose_these_too}"
+fi
+
# All files listed between the "Things-to-keep:" line and the
# "Files-to-sed:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
@@ -36,6 +43,13 @@ uppercase.s
Things-to-lose:
+for i in * ; do
+ if test ! -d $i && (grep sanitize $i > /dev/null) ; then
+ echo '***' Some mentions of Sanitize are still left in $i! 1>&2
+ fi
+done
+
+
Do-last:
# End of file.
diff --git a/gas/testsuite/gas/m32r/m32rx.exp b/gas/testsuite/gas/m32r/m32rx.exp
new file mode 100644
index 0000000..1a8aee5
--- /dev/null
+++ b/gas/testsuite/gas/m32r/m32rx.exp
@@ -0,0 +1,5 @@
+# M32Rx assembler testsuite.
+
+if [istarget m32r*-*-*] {
+ run_dump_test "m32rx"
+}