aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye <rob@cygnus>1993-04-21 04:18:11 +0000
committerRob Savoye <rob@cygnus>1993-04-21 04:18:11 +0000
commitd27960e7946cb8bce7c1d4a42faf2f56eb0266a5 (patch)
tree1ffe62362b0fd08414404bdc3e6bf90a0e0eb13d
parent0193a5f2040ca771580bc1f16bcf0ca1511c3fff (diff)
downloadgdb-d27960e7946cb8bce7c1d4a42faf2f56eb0266a5.zip
gdb-d27960e7946cb8bce7c1d4a42faf2f56eb0266a5.tar.gz
gdb-d27960e7946cb8bce7c1d4a42faf2f56eb0266a5.tar.bz2
Fixed typos so paths for executables works again.
-rw-r--r--gdb/testsuite/Makefile.in24
1 files changed, 14 insertions, 10 deletions
diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in
index 36f6e51..dff0107 100644
--- a/gdb/testsuite/Makefile.in
+++ b/gdb/testsuite/Makefile.in
@@ -40,8 +40,8 @@ RUNTEST = runtest
RUNTESTFLAGS =
CC = ` \
- if [ -f $${rootme}../../gcc/Makefile ] ; then \
- echo $${rootme}../../gcc/xgcc -B$${rootme}../../gcc/; \
+ if [ -f $${rootme}/../../gcc/Makefile ] ; then \
+ echo $${rootme}/../../gcc/xgcc -B$${rootme}../../gcc/; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo cc; \
@@ -51,8 +51,8 @@ CC = ` \
fi`
CHILL = ` \
- if [ -f $${rootme}../../gcc/Makefile ] ; then \
- echo $${rootme}../../gcc/xgcc -B$${rootme}../../gcc/ -L$${rootme}../../chillrt/; \
+ if [ -f $${rootme}/../../gcc/Makefile ] ; then \
+ echo $${rootme}/../../gcc/xgcc -B$${rootme}../../gcc/ -L$${rootme}../../chillrt/; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo gcc; \
@@ -62,8 +62,8 @@ CHILL = ` \
fi`
CXX = ` \
- if [ -f $${rootme}../../gcc/Makefile ] ; then \
- echo $${rootme}../../gcc/xgcc -B$${rootme}../../gcc/; \
+ if [ -f $${rootme}/../../gcc/Makefile ] ; then \
+ echo $${rootme}/../../gcc/xgcc -B$${rootme}../../gcc/; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo gcc; \
@@ -72,9 +72,12 @@ CXX = ` \
fi; \
fi`
-GDB = `if [ -f $${rootme}../gdb ] ; \
- then echo $${rootme}../gdb ; \
- else echo gdb; fi`
+GDB = ` \
+ if [ -f $${rootme}/../gdb ] ; then \
+ echo $${rootme}/../gdb ; \
+ else echo gdb; \
+ fi`
+
GDBFLAGS =
EXPECT = `if [ -f $${rootme}../../expect/expect ] ; \
@@ -146,7 +149,8 @@ site.exp: ./config.status Makefile
installcheck:
check: site.exp all
- $(RUNTEST) $(RUNTESTFLAGS) --tool gdb GDB=$(GDB) --srcdir $(srcdir) --target $(target_canonical)
+ rootme=`pwd`; export rootme; \
+ $(RUNTEST) $(RUNTESTFLAGS) --tool gdb GDB=$(GDB) --srcdir $(srcdir)
subdir_do: force
@for i in $(DODIRS); do \