aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-12-15 16:28:46 +0000
committerKen Raeburn <raeburn@cygnus>1993-12-15 16:28:46 +0000
commit29f5c3cb1531d7812c8cdbec0c28247e58d656d9 (patch)
tree63954a35939efd4a15ada95504426dc27d23cf84
parent30d3a445c4447b2d721f9521c6dcffe1581980d1 (diff)
downloadgdb-29f5c3cb1531d7812c8cdbec0c28247e58d656d9.zip
gdb-29f5c3cb1531d7812c8cdbec0c28247e58d656d9.tar.gz
gdb-29f5c3cb1531d7812c8cdbec0c28247e58d656d9.tar.bz2
Some changes from trying to run test suite in California last week:
* Makefile.in (site.exp): Don't set ASFLAGS. Quote value of OBJDUMPFLAGS in case it's empty. Use temporary names until the end; make creating site.exp the final step. (check): Pass in ASFLAGS. * gas/all/gas.exp: Use all_ones proc. Change regexp for matching C comments to avoid bugs in latest expect code.
-rw-r--r--gas/testsuite/Makefile.in11
1 files changed, 4 insertions, 7 deletions
diff --git a/gas/testsuite/Makefile.in b/gas/testsuite/Makefile.in
index cee420e..fdfae04 100644
--- a/gas/testsuite/Makefile.in
+++ b/gas/testsuite/Makefile.in
@@ -92,17 +92,14 @@ site.exp: ./Makefile
@echo set srcdir ${srcdir} >> ./tmp0
@echo set exec_prefix ${exec_prefix} >> ./tmp0
@echo set objdir `pwd` >> ./tmp0
- @echo set ASFLAGS ${ASFLAGS} >> ./tmp0
@echo set OBJDUMP ${OBJDUMP_FOR_TARGET} >> ./tmp0
- @echo set OBJDUMPFLAGS ${OBJDUMPFLAGS} >> ./tmp0
+ @echo set OBJDUMPFLAGS \"${OBJDUMPFLAGS}\" >> ./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
+ @sed -e '1,/^## All variables above are.*##/ d' < site.bak >> ./tmp0
+ @mv -f ./tmp0 site.exp
check: site.exp
- $(RUNTEST) $(RUNTEST_FLAGS) --tool gas AS=$(AS_FOR_TARGET)
+ $(RUNTEST) $(RUNTEST_FLAGS) --tool gas AS=$(AS_FOR_TARGET) ASFLAGS="$(ASFLAGS)"
force: