* elf32-ppc.c (LWZU_0_X_11): Delete.
[binutils.git] / gas / testsuite / lib / dotest
bloba768a225300a0f30473803c1f39d33ab52aed53c
1 #!/bin/sh
2 # ad hoc debug tool
4 x=$1
5 y=$2
7 xout=`basename $x`.xxx.$$
8 yout=`basename $x`.yyy.$$
10 mkdir $xout
11 mkdir $yout
13 for i in *.s
15 echo Testing $i...
16 object=`basename $i .s`.o
17 $x $i -o $xout/$object
18 $y $i -o $yout/$object
20 # if they cmp, we're ok. Otherwise we have to look closer.
22 if (cmp $xout/$object $yout/$object)
23 then
24 echo $i is ok.
25 else
26 if (doobjcmp $xout/$object $yout/$object)
27 then
28 echo Not the same but objcmp ok.
29 else
30 exit 1
34 echo
35 done
37 rm -rf $xout $yout
39 exit 0
41 # EOF