mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-26 09:40:40 +08:00
run_acats (host_gnatmake): Use type in a /bin/sh script.
* ada/acats/run_acats (host_gnatmake): Use type in a /bin/sh script. (host_gcc): Likewise. (ROOT): Honor $PWDCMD. (BASE): Likewise. * ada/acats/run_all.sh (dir): Honor $PWDCMD. From-SVN: r73510
This commit is contained in:
parent
0e59b3fb64
commit
405f36dd35
@ -1,3 +1,11 @@
|
||||
2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||
|
||||
* ada/acats/run_acats (host_gnatmake): Use type in a /bin/sh script.
|
||||
(host_gcc): Likewise.
|
||||
(ROOT): Honor $PWDCMD.
|
||||
(BASE): Likewise.
|
||||
* ada/acats/run_all.sh (dir): Honor $PWDCMD.
|
||||
|
||||
2003-11-12 Catherine Moore <clm@redhat.com>
|
||||
|
||||
* gcc.c-torture/execute/20020720-1.x: Add xfail for frv-*-*.
|
||||
|
@ -7,10 +7,10 @@ fi
|
||||
|
||||
# Set up environment to use the Ada compiler from the object tree
|
||||
|
||||
host_gnatmake=`which gnatmake`
|
||||
host_gcc=`which gcc`
|
||||
ROOT=`pwd`
|
||||
BASE=`cd $ROOT/../../..; pwd`
|
||||
host_gnatmake=`type gnatmake | awk '{print $3}`
|
||||
host_gcc=`type gcc | awk '{print $3}`
|
||||
ROOT=`${PWDCMD-pwd}`
|
||||
BASE=`cd $ROOT/../../..; ${PWDCMD-pwd}`
|
||||
PATH=$BASE:$ROOT:$PATH
|
||||
ADA_INCLUDE_PATH=$BASE/ada/rts
|
||||
ADA_OBJECTS_PATH=$ADA_INCLUDE_PATH
|
||||
|
@ -35,7 +35,7 @@ log () {
|
||||
echo "$@" >> $dir/acats.log
|
||||
}
|
||||
|
||||
dir=`pwd`
|
||||
dir=`${PWDCMD-pwd}`
|
||||
|
||||
if [ "$testdir" = "" ]; then
|
||||
echo You must use make check or make check-ada
|
||||
|
Loading…
x
Reference in New Issue
Block a user