aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1997-11-08 02:41:48 +0000
committerKen Raeburn <raeburn@cygnus>1997-11-08 02:41:48 +0000
commit4aa424c7a73608b514fc441e231e435d9c33c02d (patch)
tree8c71830a75ac06071c8739971d25aebd2b7f7456 /gas/testsuite
parent4afb407dae245dbf2118bfb9dabe91890df89fd4 (diff)
downloadgdb-4aa424c7a73608b514fc441e231e435d9c33c02d.zip
gdb-4aa424c7a73608b514fc441e231e435d9c33c02d.tar.gz
gdb-4aa424c7a73608b514fc441e231e435d9c33c02d.tar.bz2
* 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.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/.Sanitize28
-rw-r--r--gas/testsuite/gas/mips/.Sanitize51
2 files changed, 79 insertions, 0 deletions
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.