aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1998-06-18 00:17:18 +0000
committerJeff Law <law@redhat.com>1998-06-18 00:17:18 +0000
commita2d41a258b898442a47024998162633ae05a3023 (patch)
treed4aefd4dabb9737a7c220f2b4087464173ae62dc /gas
parent82169ecef7aa96dca6ebd2603ab362073a792f0d (diff)
downloadgdb-a2d41a258b898442a47024998162633ae05a3023.zip
gdb-a2d41a258b898442a47024998162633ae05a3023.tar.gz
gdb-a2d41a258b898442a47024998162633ae05a3023.tar.bz2
* gas/mn10300/am33.s: New test.
* gas/mn10300/basic.exp: Run it.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/.Sanitize28
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/mn10300/.Sanitize36
3 files changed, 71 insertions, 0 deletions
diff --git a/gas/testsuite/.Sanitize b/gas/testsuite/.Sanitize
index e0f3b4f..d3b8162 100644
--- a/gas/testsuite/.Sanitize
+++ b/gas/testsuite/.Sanitize
@@ -72,6 +72,34 @@ else
done
fi
+am33_files="ChangeLog"
+if ( echo $* | grep keep\-am33 > /dev/null ) ; then
+ for i in $am33_files ; do
+ if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping am33 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $am33_files ; do
+ if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"am33\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-am33/,/end-\sanitize\-am33/d' < $i > new
+ if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+ if [ -n "${verbose}" ] ; then
+ echo Caching $i in .Recover...
+ fi
+ mv $i .Recover
+ fi
+ mv new $i
+ fi
+ done
+fi
+
d30v_files="ChangeLog"
if ( echo $* | grep keep\-d30v > /dev/null ) ; then
for i in $d30v_files ; do
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 74c20d9..b8bc580 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+start-sanitize-am33
+Wed Jun 17 18:14:33 1998 Jeffrey A Law (law@cygnus.com)
+
+ * gas/mn10300/am33.s: New test.
+ * gas/mn10300/basic.exp: Run it.
+
+end-sanitize-am33
Wed Jun 17 14:02:10 1998 Frank Ch. Eigler <fche@cygnus.com>
* gas/mips/delay.d: Add -mcpu=NNNN to gas flags to let test case
diff --git a/gas/testsuite/gas/mn10300/.Sanitize b/gas/testsuite/gas/mn10300/.Sanitize
index a421ee2..152e6e4 100644
--- a/gas/testsuite/gas/mn10300/.Sanitize
+++ b/gas/testsuite/gas/mn10300/.Sanitize
@@ -17,6 +17,14 @@
Do-first:
+am33_files="am33.s"
+
+if ( echo $* | grep keep\-am33 > /dev/null ) ; then
+ keep_these_too="${am33_files} ${keep_these_too}"
+else
+ lose_these_too="${am33_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
@@ -49,4 +57,32 @@ Things-to-lose:
Do-last:
+am33_files="basic.exp"
+if ( echo $* | grep keep\-am33 > /dev/null ) ; then
+ for i in $am33_files ; do
+ if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping am33 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $am33_files ; do
+ if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"am33\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-am33/,/end-\sanitize\-am33/d' < $i > new
+ if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+ if [ -n "${verbose}" ] ; then
+ echo Caching $i in .Recover...
+ fi
+ mv $i .Recover
+ fi
+ mv new $i
+ fi
+ done
+fi
+
# End of file.