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:
Rainer Orth 2003-11-12 21:21:55 +00:00 committed by Rainer Orth
parent 0e59b3fb64
commit 405f36dd35
3 changed files with 13 additions and 5 deletions

View File

@ -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-*-*.

View File

@ -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

View File

@ -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