aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/.Sanitize
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1997-12-16 11:54:21 +0000
committerJeff Law <law@redhat.com>1997-12-16 11:54:21 +0000
commit0f63020ed86d843eccbf1bf9db7eab34bf704a37 (patch)
tree50a56660b827fe9052a9a2a68757269e50d982b0 /gas/testsuite/.Sanitize
parent2f1d67ecf064cf926cca1f63acb0b9c58021ae12 (diff)
downloadgdb-0f63020ed86d843eccbf1bf9db7eab34bf704a37.zip
gdb-0f63020ed86d843eccbf1bf9db7eab34bf704a37.tar.gz
gdb-0f63020ed86d843eccbf1bf9db7eab34bf704a37.tar.bz2
* gas/mips/r5900.s: New testcase for r5900 insns.
* gas/mips/r5900.d: Support file for r5900 tests. * gas/mips/mips.exp: Run r5900 tests too.
Diffstat (limited to 'gas/testsuite/.Sanitize')
-rw-r--r--gas/testsuite/.Sanitize28
1 files changed, 28 insertions, 0 deletions
diff --git a/gas/testsuite/.Sanitize b/gas/testsuite/.Sanitize
index 6362072..68a74f4 100644
--- a/gas/testsuite/.Sanitize
+++ b/gas/testsuite/.Sanitize
@@ -128,6 +128,34 @@ else
done
fi
+r5900_files="ChangeLog"
+if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
+ for i in $r5900_files ; do
+ if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping r5900 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $r5900_files ; do
+ if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"r5900\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/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
+
tx19_files="ChangeLog"
if ( echo $* | grep keep\-tx19 > /dev/null ) ; then
for i in $tx19_files ; do