Don't run the `align' testcase if dvp-*-*.
authorDoug Evans <dje@google.com>
Mon, 1 Jun 1998 22:09:19 +0000 (22:09 +0000)
committerDoug Evans <dje@google.com>
Mon, 1 Jun 1998 22:09:19 +0000 (22:09 +0000)
gas/testsuite/gas/all/.Sanitize

index b86be90e9d5ac3389e955068bc960d5b4e12be9f..d0f631213a4cb4223a32dd46d1a787a24bd34405 100644 (file)
@@ -49,4 +49,38 @@ Things-to-lose:
 
 Do-last:
 
+sky_files="gas.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 $i! 1>&2
+       fi
+done
+
 # End of file.