3 # A shell script to run the test suite on the DJGPP version of GDB.
6 GDB
=${ORIGDIR}/..
/gdb.exe
7 SUBDIRS
=`find $ORIGDIR -type d ! -ipath $ORIGDIR`
12 echo "Running tests in $d..."
16 base
=`basename $f .out`
17 if test "${base}" = "dbx" ; then
22 $GDB ${options} < ${base}.
in 2>&1 \
23 |
sed -e '/GNU gdb /s/ [.0-9][.0-9]*//' \
24 -e '/^Copyright/s/[12][0-9][0-9][0-9]/XYZZY/g' \
25 -e '/Starting program: /s|[A-z]:/.*/||' \
26 -e '/main (/s/=0x[0-9a-f][0-9a-f]*/=XYZ/g' \
28 if diff --binary -u ${base}.out
${base}.tst
; then