From 4aa424c7a73608b514fc441e231e435d9c33c02d Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 8 Nov 1997 02:41:48 +0000 Subject: * gas/mips/vr5400.s, gas/mips/vr5400.d: New test, for VR5400-specific instructions. * gas/mips/mips.exp: Run it. * gas/ieee-fp/x930509a.exp: Don't run IEEE FP tests for Vax targets. --- gas/testsuite/.Sanitize | 28 ++++++++++++++++++++++ gas/testsuite/gas/mips/.Sanitize | 51 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) (limited to 'gas') diff --git a/gas/testsuite/.Sanitize b/gas/testsuite/.Sanitize index 9fe9209..6362072 100644 --- a/gas/testsuite/.Sanitize +++ b/gas/testsuite/.Sanitize @@ -100,6 +100,34 @@ else done fi +vr5400_files="ChangeLog" +if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then + for i in $vr5400_files ; do + if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping vr5400 stuff in $i + fi + fi + done +else + for i in $vr5400_files ; do + if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"vr5400\" from $i... + fi + cp $i new + sed '/start\-sanitize\-vr5400/,/end-\sanitize\-vr5400/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 diff --git a/gas/testsuite/gas/mips/.Sanitize b/gas/testsuite/gas/mips/.Sanitize index c7ca303..cc9897b 100644 --- a/gas/testsuite/gas/mips/.Sanitize +++ b/gas/testsuite/gas/mips/.Sanitize @@ -15,6 +15,29 @@ Do-first: +vr5400_losers="vr5400.s" +if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then + keep_these_too="$keep_these_too $vr5400_losers" + if [ -n "${verbose}" ] ; then + for i in $vr5400_losers ; do + echo Keeping $i + done + fi +else + for i in $vr5400_losers ; do + if [ -n "${verbose}" ] ; then + echo Removing $i... + fi + if [ -n "${safe}" -a ! -f .Recover/$i ] ; then + if [ -n "${verbose}" ] ; then + echo Caching $i in .Recover... + fi + mv $i .Recover + else + rm $i + fi + done +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. @@ -173,4 +196,32 @@ else done fi +vr5400_files="mips.exp" +if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then + for i in $vr5400_files ; do + if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping vr5400 stuff in $i + fi + fi + done +else + for i in $vr5400_files ; do + if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"vr5400\" from $i... + fi + cp $i new + sed '/start\-sanitize\-vr5400/,/end-\sanitize\-vr5400/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. -- cgit v1.1