* gas/mips/mips.exp: Run the new tests, below.
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / .Sanitize
CommitLineData
e33bfde7 1# .Sanitize for devo/gas/testsuite/gas/mips
5fe67aa8 2
e33bfde7 3# Each directory to survive its way into a release will need a file
5fe67aa8
ILT
4# like this one called "./.Sanitize". All keyword lines must exist,
5# and must exist in the order specified by this file. Each directory
6# in the tree will be processed, top down, in the following order.
7
8# Hash started lines like this one are comments and will be deleted
9# before anything else is done. Blank lines will also be squashed
10# out.
11
12# The lines between the "Do-first:" line and the "Things-to-keep:"
13# line are executed as a /bin/sh shell script before anything else is
e33bfde7 14# done in this directory.
5fe67aa8
ILT
15
16Do-first:
17
93d2187d 18vr5400_losers="vr5400.s vr5400.d"
3d759c53 19if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
4aa424c7
KR
20 keep_these_too="$keep_these_too $vr5400_losers"
21 if [ -n "${verbose}" ] ; then
22 for i in $vr5400_losers ; do
23 echo Keeping $i
24 done
25 fi
26else
27 for i in $vr5400_losers ; do
28 if [ -n "${verbose}" ] ; then
29 echo Removing $i...
30 fi
31 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
32 if [ -n "${verbose}" ] ; then
33 echo Caching $i in .Recover...
34 fi
35 mv $i .Recover
36 else
37 rm $i
38 fi
39 done
40fi
5fe67aa8 41
4f6f7a3a 42r5900_losers="r5900.s r5900.d vu0.s vu0.d break5900.s break5900.d"
0f63020e
JL
43if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
44 keep_these_too="$keep_these_too $r5900_losers"
45 if [ -n "${verbose}" ] ; then
46 for i in $r5900_losers ; do
47 echo Keeping $i
48 done
49 fi
50else
51 for i in $r5900_losers ; do
52 if [ -n "${verbose}" ] ; then
53 echo Removing $i...
54 fi
55 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
56 if [ -n "${verbose}" ] ; then
57 echo Caching $i in .Recover...
58 fi
59 mv $i .Recover
60 else
61 rm $i
62 fi
63 done
64fi
65
5fe67aa8 66# All files listed between the "Things-to-keep:" line and the
e33bfde7 67# "Do-last:" line will be kept. All other files will be removed.
5fe67aa8
ILT
68# Directories listed in this section will have their own Sanitize
69# called. Directories not listed will be removed in their entirety
70# with rm -rf.
71
72Things-to-keep:
73
74abs.d
75abs.s
76add.d
77add.s
78and.d
79and.s
80beq.d
81beq.s
82bge.d
83bge.s
84bgeu.d
85bgeu.s
86blt.d
87blt.s
88bltu.d
89bltu.s
1d99416d
FCE
90break20.d
91break20.s
ff55d0fb
GRK
92delay.d
93delay.s
36e5ed4c 94div-ilocks.d
5fe67aa8
ILT
95div.d
96div.s
1b68deb5
JSC
97dli.d
98dli.s
a3c2c0f4
DP
99itbl
100itbl.s
fbc83def
ILT
101jal-empic.d
102jal-svr4pic.d
103jal-svr4pic.s
6190e3dd 104jal-xgot.d
5fe67aa8
ILT
105jal.d
106jal.s
fbc83def
ILT
107la-empic.d
108la-empic.s
109la-svr4pic.d
6190e3dd 110la-xgot.d
5fe67aa8
ILT
111la.d
112la.s
fbc83def
ILT
113lb-empic.d
114lb-pic.s
115lb-svr4pic.d
f89a5bfc 116lb-xgot-ilocks.d
e33bfde7 117lb-xgot.d
5fe67aa8
ILT
118lb.d
119lb.s
fbc83def 120ld-empic.d
88770c1c 121ld-ilocks.d
312bba67 122ld-ilocks-addr32.d
fbc83def
ILT
123ld-pic.s
124ld-svr4pic.d
6190e3dd 125ld-xgot.d
e33bfde7
ILT
126ld.d
127ld.s
5fe67aa8
ILT
128li.d
129li.s
fbc83def
ILT
130lif-empic.d
131lif-svr4pic.d
6190e3dd 132lif-xgot.d
5fe67aa8
ILT
133lifloat.d
134lifloat.s
231cd2a9
FCE
135lineno.d
136lineno.s
5fe67aa8 137mips.exp
d899ee85
ILT
138mips16.d
139mips16.s
f3a01d90
KR
140mips4.d
141mips4.s
09025569
JL
142mips4010.d
143mips4010.s
144mips4100.d
145mips4100.s
146mips4650.d
147mips4650.s
41c3da51 148mul-ilocks.d
5fe67aa8
ILT
149mul.d
150mul.s
ff55d0fb 151nodelay.d
5fe67aa8
ILT
152rol.d
153rol.s
154sb.d
155sb.s
4764e0cf
DE
156sync.d
157sync.s
1d99416d
FCE
158trap20.d
159trap20.s
5fe67aa8
ILT
160trunc.d
161trunc.s
e33bfde7
ILT
162uld.d
163uld.s
fbc83def
ILT
164ulh-empic.d
165ulh-pic.s
166ulh-svr4pic.d
6190e3dd 167ulh-xgot.d
5fe67aa8
ILT
168ulh.d
169ulh.s
170ulw.d
171ulw.s
a93c34ed
ILT
172usd.d
173usd.s
5fe67aa8
ILT
174ush.d
175ush.s
176usw.d
177usw.s
178
179Things-to-lose:
180
e33bfde7
ILT
181
182
183# The lines between the "Do-last:" line and the end of the file
184# are executed as a /bin/sh shell script after everything else is
185# done.
186
5fe67aa8
ILT
187Do-last:
188
fdc16ba0
GRK
189tx19_files="mips.exp"
190if ( echo $* | grep keep\-tx19 > /dev/null ) ; then
191 for i in $tx19_files ; do
192 if test ! -d $i && (grep sanitize-tx19 $i > /dev/null) ; then
193 if [ -n "${verbose}" ] ; then
194 echo Keeping tx19 stuff in $i
195 fi
196 fi
197 done
198else
199 for i in $tx19_files ; do
200 if test ! -d $i && (grep sanitize-tx19 $i > /dev/null) ; then
201 if [ -n "${verbose}" ] ; then
202 echo Removing traces of \"tx19\" from $i...
203 fi
204 cp $i new
205 sed '/start\-sanitize\-tx19/,/end-\sanitize\-tx19/d' < $i > new
206 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
207 if [ -n "${verbose}" ] ; then
208 echo Caching $i in .Recover...
209 fi
210 mv $i .Recover
211 fi
212 mv new $i
213 fi
214 done
215fi
216
4ebda395
GRK
217tx49_files="mips.exp"
218if ( echo $* | grep keep\-tx49 > /dev/null ) ; then
219 for i in $tx49_files ; do
220 if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
221 if [ -n "${verbose}" ] ; then
222 echo Keeping tx49 stuff in $i
223 fi
224 fi
225 done
226else
227 for i in $tx49_files ; do
228 if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
229 if [ -n "${verbose}" ] ; then
230 echo Removing traces of \"tx49\" from $i...
231 fi
232 cp $i new
233 sed '/start\-sanitize\-tx49/,/end-\sanitize\-tx49/d' < $i > new
234 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
235 if [ -n "${verbose}" ] ; then
236 echo Caching $i in .Recover...
237 fi
238 mv $i .Recover
239 fi
240 mv new $i
241 fi
242 done
243fi
244
c594deb2
GRK
245vr4320_files="mips.exp"
246if ( echo $* | grep keep\-vr4320 > /dev/null ) ; then
247 for i in $vr4320_files ; do
248 if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
249 if [ -n "${verbose}" ] ; then
250 echo Keeping vr4320 stuff in $i
251 fi
252 fi
253 done
254else
255 for i in $vr4320_files ; do
256 if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
257 if [ -n "${verbose}" ] ; then
258 echo Removing traces of \"vr4320\" from $i...
259 fi
260 cp $i new
261 sed '/start\-sanitize\-vr4320/,/end-\sanitize\-vr4320/d' < $i > new
262 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
263 if [ -n "${verbose}" ] ; then
264 echo Caching $i in .Recover...
265 fi
266 mv $i .Recover
267 fi
268 mv new $i
269 fi
270 done
271fi
272
3d759c53
KR
273cygnus_files="mips.exp"
274if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
275 for i in $cygnus_files ; do
276 if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
4aa424c7 277 if [ -n "${verbose}" ] ; then
3d759c53 278 echo Keeping cygnus stuff in $i
4aa424c7
KR
279 fi
280 fi
281 done
282else
3d759c53
KR
283 for i in $cygnus_files ; do
284 if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
4aa424c7 285 if [ -n "${verbose}" ] ; then
3d759c53 286 echo Removing traces of \"cygnus\" from $i...
4aa424c7
KR
287 fi
288 cp $i new
3d759c53 289 sed '/start\-sanitize\-cygnus/,/end-\sanitize\-cygnus/d' < $i > new
4aa424c7
KR
290 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
291 if [ -n "${verbose}" ] ; then
292 echo Caching $i in .Recover...
293 fi
294 mv $i .Recover
295 fi
296 mv new $i
297 fi
298 done
299fi
300
0f63020e
JL
301r5900_files="mips.exp"
302if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
303 for i in $r5900_files ; do
304 if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
305 if [ -n "${verbose}" ] ; then
306 echo Keeping r5900 stuff in $i
307 fi
308 fi
309 done
310else
311 for i in $r5900_files ; do
312 if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
313 if [ -n "${verbose}" ] ; then
314 echo Removing traces of \"r5900\" from $i...
315 fi
316 cp $i new
317 sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/d' < $i > new
318 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
319 if [ -n "${verbose}" ] ; then
320 echo Caching $i in .Recover...
321 fi
322 mv $i .Recover
323 fi
324 mv new $i
325 fi
326 done
327fi
328
e33bfde7 329# eof
This page took 0.169306 seconds and 4 git commands to generate.