From: Nick Clifton Date: Thu, 18 Dec 1997 16:04:14 +0000 (+0000) Subject: Files for testing m32rx instruction set. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=17f0d950f1a5343a9f57122d90e5f7e410949695;p=binutils-gdb.git Files for testing m32rx instruction set. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index d3599f2b89e..99b1cebdbbc 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 59b31ecc2a1..fc2a2cdbb5b 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 00000000000..1a8aee572ea --- /dev/null +++ b/gas/testsuite/gas/m32r/m32rx.exp @@ -0,0 +1,5 @@ +# M32Rx assembler testsuite. + +if [istarget m32r*-*-*] { + run_dump_test "m32rx" +}