aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/Makefile.in
diff options
context:
space:
mode:
authorRob Savoye <rob@cygnus>1993-04-19 05:04:41 +0000
committerRob Savoye <rob@cygnus>1993-04-19 05:04:41 +0000
commitcc49ffa06bab72cf7868fc3b086d997815bac169 (patch)
treea8b9ba602f1cfc29329c7ca8cea7438fb3cfa62f /gdb/testsuite/Makefile.in
parentfaea916b2f858913ec81d81bc51c5f2dea4699ac (diff)
downloadgdb-cc49ffa06bab72cf7868fc3b086d997815bac169.zip
gdb-cc49ffa06bab72cf7868fc3b086d997815bac169.tar.gz
gdb-cc49ffa06bab72cf7868fc3b086d997815bac169.tar.bz2
Back to creating a local config fil to be safe. Pass --target for "make
check"
Diffstat (limited to 'gdb/testsuite/Makefile.in')
-rw-r--r--gdb/testsuite/Makefile.in12
1 files changed, 7 insertions, 5 deletions
diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in
index dc7db23..36f6e51 100644
--- a/gdb/testsuite/Makefile.in
+++ b/gdb/testsuite/Makefile.in
@@ -117,7 +117,7 @@ install:
uninstall: force
-site.exp: ./config.status
+site.exp: ./config.status Makefile
@echo "Making a new config file..."
-@rm -f ./tmp?
@touch site.exp
@@ -133,18 +133,20 @@ site.exp: ./config.status
@echo "set target_alias ${target_alias}" >> ./tmp0
@echo "set target_cpu ${target_cpu}" >> ./tmp0
@echo "set target_vendor ${target_vendor}" >> ./tmp0
+ @echo "set host_triplet ${host_canonical}" >> ./tmp0
+ @echo "set target_triplet ${target_canonical}" >> ./tmp0
@echo "set srcdir ${srcdir}" >> ./tmp0
- @echo "set exec_prefix ${exec_prefix}" >> ./tmp0
@echo "set objdir `pwd`" >> ./tmp0
+ @echo "set tool gdb" >> ./tmp0
@echo "## All variables above are generated by configure. Do Not Edit ##" >> ./tmp0
@cat ./tmp0 > site.exp
@cat site.bak | sed \
-e '1,/^## All variables above are.*##/ d' >> site.exp
- @rm -f ./tmp1 ./tmp0
+ -@rm -f ./tmp?
installcheck:
-check: all
- $(RUNTEST) $(RUNTESTFLAGS) --tool gdb GDB=$(GDB) --srcdir $(srcdir)
+check: site.exp all
+ $(RUNTEST) $(RUNTESTFLAGS) --tool gdb GDB=$(GDB) --srcdir $(srcdir) --target $(target_canonical)
subdir_do: force
@for i in $(DODIRS); do \