* Test cases for PR 18015.
[deliverable/binutils-gdb.git] / sim / .Sanitize
index d2887c82b2e9c8015c087f7ca57fa30bc6a73d22..8f4de07b3735d052744b32b2c20e8150369cebae 100644 (file)
 
 Do-first:
 
-d30v_files="d30v testsuite"
-if ( echo $* | grep keep\-d30v > /dev/null ) ; then
-        keep_these_too="${d30v_files} ${keep_these_too}"
-else
-        lose_these_too="${d30v_files} ${lose_these_too}"
-fi
-
 tic80_files="tic80"
 if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
         keep_these_too="${tic80_files} ${keep_these_too}"
@@ -47,6 +40,7 @@ configure
 configure.in
 common
 d10v
+d30v
 erc32
 h8300
 h8500
@@ -58,6 +52,7 @@ mn10300
 ppc
 sh
 v850
+testsuite
 w65
 z8k
 
@@ -66,34 +61,6 @@ Things-to-lose:
 
 Do-last:
 
-d30v_files="configure configure.in ChangeLog"
-if ( echo $* | grep keep\-d30v > /dev/null ) ; then
-        for i in $d30v_files ; do
-                if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
-                        if [ -n "${verbose}" ] ; then
-                                echo Keeping d30v stuff in $i
-                        fi
-                fi
-        done
-else
-        for i in $d30v_files ; do
-                if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
-                        if [ -n "${verbose}" ] ; then
-                                echo Removing traces of \"d30v\" from $i...
-                        fi
-                        cp $i new
-                        sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/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
-
 tic80_files="configure configure.in ChangeLog"
 if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
         for i in $tic80_files ; do
@@ -150,6 +117,33 @@ else
         done
 fi
 
+vr4320_files="ChangeLog"
+if ( echo $* | grep keep\-vr4320 > /dev/null ) ; then
+        for i in $vr4320_files ; do
+                if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
+                        if [ -n "${verbose}" ] ; then
+                                echo Keeping vr4320 stuff in $i
+                        fi
+                fi
+        done
+else
+        for i in $vr4320_files ; do
+                if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
+                        if [ -n "${verbose}" ] ; then
+                                echo Removing traces of \"vr4320\" from $i...
+                        fi
+                        cp $i new
+                        sed '/start\-sanitize\-vr4320/,/end-\sanitize\-vr4320/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
This page took 0.024581 seconds and 4 git commands to generate.