From 17f0d950f1a5343a9f57122d90e5f7e410949695 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 18 Dec 1997 16:04:14 +0000 Subject: [PATCH] Files for testing m32rx instruction set. --- gas/testsuite/ChangeLog | 4 ++++ gas/testsuite/gas/m32r/.Sanitize | 14 ++++++++++++++ gas/testsuite/gas/m32r/m32rx.exp | 5 +++++ 3 files changed, 23 insertions(+) create mode 100644 gas/testsuite/gas/m32r/m32rx.exp diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index d3599f2b89..99b1cebdbb 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,5 +1,9 @@ Thu Dec 18 11:10:42 1997 Nick Clifton + * 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 59b31ecc2a..fc2a2cdbb5 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 0000000000..1a8aee572e --- /dev/null +++ b/gas/testsuite/gas/m32r/m32rx.exp @@ -0,0 +1,5 @@ +# M32Rx assembler testsuite. + +if [istarget m32r*-*-*] { + run_dump_test "m32rx" +}