This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Print addend as signed in objdump


On Thu, May 17, 2012 at 09:38:00AM -0700, H.J. Lu wrote:
> I checked in a fix to pdate testsuite.  But it is hard to tell if I missed
> anything since testsuite on some tarrgets isn't clean.

I use the following script before and after making changes that impact
the testsuite (well, if I remember).  Builds 16 targets in parallel,
special case for m68hc12-elf because that target modifies source dir!
Differences between one run and the next reported in gastest_changes.

let i=0
for z in alpha-dec-vms alpha-linux alpha-linuxecoff alpha-netbsd alpha-unknown-freebsd4.7 arc-elf arm-aout arm-coff arm-epoc-pe arm-linuxeabi arm-netbsdelf arm-nto arm-pe arm-symbianelf arm-vxworks arm-wince-pe avr-elf bfin-elf cr16-elf cris-elf crisv32-linux crx-elf d10v-elf d30v-elf dlx-elf fr30-elf frv-elf frv-linux h8300-elf hppa-linux hppa-hp-hpux10 hppa64-hp-hpux11.23 hppa64-linux i370-linux i386-lynxos i386-netware i386-linuxaout i586-aout i586-coff i586-linux i686-pc-beos i686-pc-elf i686-pe i860-stardent-elf i960-elf ia64-elf ia64-freebsd5 ia64-hpux ia64-linux ia64-netbsd ia64-vms ip2k-elf iq2000-elf lm32-elf m32c-elf m32r-elf m68hc11-elf m68hc12-elf m68k-elf m68k-linux m68k-netbsd mcore-elf mcore-pe mep-elf microblaze-elf mips-ecoff mips-linux mips64-linux mipsel-linux-gnu mipsisa32el-linux mmix mn10200-elf mn10300-elf moxie-elf ms1-elf msp430-elf ns32k-netbsd or32-elf pdp11-dec-aout pj-elf powerpc-eabisim powerpc-linux powerpc-nto powerpc-wrs-vxworks powerpc64-linux ppc-lynxos rs6000-aix4.3.3 rs6000-aix5.1 rx-elf s390-linux s390x-linux sh-linux sh-nto sh-pe sh-rtems sh64-elf shl-unknown-netbsdelf sparc-aout sparc-coff sparc-linux sparc64-linux spu-elf tic30-unknown-aout tic30-unknown-coff tic4x-coff tic54x-coff tic6x-elf tx39-elf v850-elf vax-netbsdelf x86_64-linux x86_64-mingw32 xstormy16-elf xtensa-elf z8k-coff
do
  ( test -d $z || mkdir $z
  cd $z;
  echo "CFLAGS=\"-g -O -fno-inline\" /src/binutils-current/configure --prefix=/usr/local --disable-nls --enable-plugins --build=x86_64-linux --target=$z" > zzz.$$
  chmod 755 zzz.$$
  xx=9
  for x in 8 7 6 5 4 3 2 1 0
  do
    test -f make.log$x && mv -f make.log$x make.log$xx
    test -f check.log$x && mv -f check.log$x check.log$xx
    xx=$x
  done
  if test x$1 = xfull || ! test -f zzz || ! cmp -s zzz zzz.$$; then
    rm -rf bfd binutils etc gas gprof intl ld libiberty opcodes Makefile config.log config.status serdep.tmp
    mv -f zzz.$$ zzz
    ./zzz >& make.log0
  else
    rm zzz.$$
    ./zzz >& make.log0
#    make clean > /dev/null 2>&1
  fi
  if make >> make.log0 2>&1; then
    if make -k check > check.log0 2>&1; then
      echo "$z OK"
    else
      echo "$z check"
    fi
  else
    echo "$z make"
  fi
  cd ..
  ) &
  let i++
  if test $i = 16 -o $z = m68hc11-elf; then
     let i=0
     wait
  fi
done
if test $i != 0; then
  wait
fi
egrep '(XPASS|FAIL|ERROR):' */check.log0 | sed -e s,/check.log0:,\ \ , > gastest_results
for z in */check.log1; do diff -u $z ${z%[0-9]}0 | sed -e s,^,${z%/*}\ \ ,; done | grep '  [\+\-][EFX]' > gastest_changes

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]