From e121918a4f60cd7619a294e783fae89c366121fe Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 9 Dec 1998 21:04:28 +0000 Subject: [PATCH] * gas/vtable/vtable.exp: Do not run these tests for the dvp assembler. --- gas/testsuite/ChangeLog | 6 +++++ gas/testsuite/gas/vtable/.Sanitize | 34 +++++++++++++++++++++++++++++ gas/testsuite/gas/vtable/vtable.exp | 6 +++++ 3 files changed, 46 insertions(+) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index a1438685cec..e6b6a5a2ede 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +start-sanitize-sky +Wed Dec 9 14:01:32 1998 Jeffrey A Law (law@cygnus.com) + + * gas/vtable/vtable.exp: Do not run these tests for the dvp assembler. + +end-sanitize-sky 1998-12-03 Nick Clifton * gas/fr30/allinsn.d: Updated to match latest assembler output. diff --git a/gas/testsuite/gas/vtable/.Sanitize b/gas/testsuite/gas/vtable/.Sanitize index 15267ab9361..fb52510d3ff 100644 --- a/gas/testsuite/gas/vtable/.Sanitize +++ b/gas/testsuite/gas/vtable/.Sanitize @@ -43,4 +43,38 @@ Things-to-lose: Do-last: +sky_files="vtable.exp" +if ( echo $* | grep keep\-sky > /dev/null ) ; then + for i in $sky_files ; do + if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping sky stuff in $i + fi + fi + done +else + for i in $sky_files ; do + if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"sky\" from $i... + fi + cp $i new + sed '/start\-sanitize\-sky/,/end-\sanitize\-sky/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 + +for i in * ; do + if test ! -d $i && (grep sanitize $i > /dev/null) ; then + echo '***' Some mentions of Sanitize are still left in gas/$i! 1>&2 + fi +done + # eof diff --git a/gas/testsuite/gas/vtable/vtable.exp b/gas/testsuite/gas/vtable/vtable.exp index 8ef589b61c8..24912443822 100644 --- a/gas/testsuite/gas/vtable/vtable.exp +++ b/gas/testsuite/gas/vtable/vtable.exp @@ -17,6 +17,12 @@ proc run_list_test { name opts } { # Vtable bits are only supported by ELF targets. if {[istarget "*-*-elf*"] || [istarget "*-*-linux*"]} then { +# start-sanitize-sky + if {[istarget "dvp-*-*"]} then { + return + } +# end-sanitize-sky + run_dump_test "inherit0" run_list_test "inherit1" "-al" -- 2.30.2