From 450dfc40902a5ebc1f294b4332d1edd333f60056 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Mon, 5 Jan 1998 14:21:22 +0000 Subject: [PATCH] Initial txvu testing support. --- gas/testsuite/.Sanitize | 30 +++++++++++++++++++++++++++++- gas/testsuite/ChangeLog | 7 +++++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/gas/testsuite/.Sanitize b/gas/testsuite/.Sanitize index 68a74f4e1cf..75f6d79f1df 100644 --- a/gas/testsuite/.Sanitize +++ b/gas/testsuite/.Sanitize @@ -41,7 +41,7 @@ Do-last: # Also, grep fails on NFS mounted directories. if [ -n "${verbose}" ] ; then - echo Processing \"v850\"... + echo Processing \"tic80\"... fi tic80_files="ChangeLog" @@ -212,4 +212,32 @@ else done fi +sky_files="ChangeLog" +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 + # End of file. diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 5ad88ffaa64..c9e47639f46 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +start-sanitize-sky +Mon Jan 5 14:20:17 1998 Doug Evans + + * gas/txvu/txvu.exp: New file. + * gas/txvu/basic-1.[ds]: New files. + +end-sanitize-sky start-sanitize-r5900 Mon Dec 22 12:47:16 1997 Ian Lance Taylor -- 2.30.2