Commit 405f36dd by Rainer Orth Committed by Rainer Orth

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
parent 0e59b3fb
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> 2003-11-12 Catherine Moore <clm@redhat.com>
* gcc.c-torture/execute/20020720-1.x: Add xfail for frv-*-*. * gcc.c-torture/execute/20020720-1.x: Add xfail for frv-*-*.
......
...@@ -7,10 +7,10 @@ fi ...@@ -7,10 +7,10 @@ fi
# Set up environment to use the Ada compiler from the object tree # Set up environment to use the Ada compiler from the object tree
host_gnatmake=`which gnatmake` host_gnatmake=`type gnatmake | awk '{print $3}`
host_gcc=`which gcc` host_gcc=`type gcc | awk '{print $3}`
ROOT=`pwd` ROOT=`${PWDCMD-pwd}`
BASE=`cd $ROOT/../../..; pwd` BASE=`cd $ROOT/../../..; ${PWDCMD-pwd}`
PATH=$BASE:$ROOT:$PATH PATH=$BASE:$ROOT:$PATH
ADA_INCLUDE_PATH=$BASE/ada/rts ADA_INCLUDE_PATH=$BASE/ada/rts
ADA_OBJECTS_PATH=$ADA_INCLUDE_PATH ADA_OBJECTS_PATH=$ADA_INCLUDE_PATH
......
...@@ -35,7 +35,7 @@ log () { ...@@ -35,7 +35,7 @@ log () {
echo "$@" >> $dir/acats.log echo "$@" >> $dir/acats.log
} }
dir=`pwd` dir=`${PWDCMD-pwd}`
if [ "$testdir" = "" ]; then if [ "$testdir" = "" ]; then
echo You must use make check or make check-ada echo You must use make check or make check-ada
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment