Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Side by Side Diff: gdb/config/djgpp/djcheck.sh

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/config/arm/nbsdelf.mh ('k') | gdb/config/djgpp/fnchange.lst » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # A shell script to run the test suite on the DJGPP version of GDB. 3 # A shell script to run the test suite on the DJGPP version of GDB.
4 4
5 # Copyright (C) 2000-2012 Free Software Foundation, Inc.
6 #
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or
10 # (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19
5 ORIGDIR=`pwd` 20 ORIGDIR=`pwd`
6 GDB=${ORIGDIR}/../gdb.exe 21 GDB=${ORIGDIR}/../gdb.exe
7 SUBDIRS=`find $ORIGDIR -type d ! -ipath $ORIGDIR` 22 SUBDIRS=`find $ORIGDIR -type d ! -ipath $ORIGDIR`
8 23
9 for d in $SUBDIRS 24 for d in $SUBDIRS
10 do 25 do
11 cd $d 26 cd $d
12 echo "Running tests in $d..." 27 echo "Running tests in $d..."
13 for f in *.out 28 for f in *.out
14 do 29 do
15 test -f $f || break 30 test -f $f || break
16 base=`basename $f .out` 31 base=`basename $f .out`
17 if test "${base}" = "dbx" ; then 32 if test "${base}" = "dbx" ; then
18 options=-dbx 33 options=-dbx
19 else 34 else
20 options= 35 options=
21 fi 36 fi
22 $GDB ${options} < ${base}.in 2>&1 \ 37 $GDB ${options} < ${base}.in 2>&1 \
23 | sed -e '/GNU gdb /s/ [.0-9][.0-9]*//' \ 38 | sed -e '/GNU gdb /s/ [.0-9][.0-9]*//' \
24 -e '/^Copyright/s/[12][0-9][0-9][0-9]/XYZZY/g' \ 39 -e '/^Copyright/s/[12][0-9][0-9][0-9]/XYZZY/g' \
25 -e '/Starting program: /s|[A-z]:/.*/||' \ 40 -e '/Starting program: /s|[A-z]:/.*/||' \
26 -e '/main (/s/=0x[0-9a-f][0-9a-f]*/=XYZ/g' \ 41 -e '/main (/s/=0x[0-9a-f][0-9a-f]*/=XYZ/g' \
27 > ${base}.tst 42 > ${base}.tst
28 if diff --binary -u ${base}.out ${base}.tst ; then 43 if diff --binary -u ${base}.out ${base}.tst ; then
29 rm -f ${base}.tst 44 rm -f ${base}.tst
30 fi 45 fi
31 done 46 done
32 done 47 done
33 48
OLDNEW
« no previous file with comments | « gdb/config/arm/nbsdelf.mh ('k') | gdb/config/djgpp/fnchange.lst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698