mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 22:40:24 +00:00
Change all occurances of RUNTEST_FLAGS to RUNTESTFLAGS to be consistant with
everything else. (and now work recursively too)
This commit is contained in:
parent
509d5555dc
commit
03372cf4ab
@ -149,12 +149,12 @@ BFD = ../bfd/libbfd.a
|
||||
OPCODES = ../opcodes/libopcodes.a
|
||||
|
||||
RUNTEST = runtest
|
||||
RUNTEST_FLAGS =
|
||||
RUNTESTFLAGS =
|
||||
FLAGS_TO_PASS = \
|
||||
"CC=$(CC)" \
|
||||
"CFLAGS=$(CFLAGS)" \
|
||||
"RUNTEST=$(RUNTEST)" \
|
||||
"RUNTEST_FLAGS=$(RUNTEST_FLAGS) \
|
||||
"RUNTESTFLAGS=$(RUNTESTFLAGS) \
|
||||
SIZE=`if [ -f $$rootme/$(SIZE_PROG) ] ; then echo $$rootme/$(SIZE_PROG) ; else echo $(SIZE_PROG); fi` \
|
||||
OBJCOPY=`if [ -f $$rootme/$(OBJCOPY_PROG) ] ; then echo $$rootme/$(OBJCOPY_PROG) ; else echo $(OBJCOPY_PROG); fi` \
|
||||
NM=`if [ -f $$rootme/$(NM_PROG) ] ; then echo $$rootme/$(NM_PROG) ; else echo $(NM_PROG); fi` \
|
||||
|
@ -62,7 +62,7 @@ install-info:
|
||||
$(MAKE) subdir_do DO=install-info "DODIRS=$(INFODIRS)" $(FLAGS_TO_PASS)
|
||||
|
||||
check: site.exp all
|
||||
$(RUNTEST) $(RUNTEST_FLAGS) $(FLAGS_TO_PASS) --tool binutils --srcdir $(srcdir)
|
||||
$(RUNTEST) $(RUNTESTFLAGS) $(FLAGS_TO_PASS) --tool binutils --srcdir $(srcdir)
|
||||
|
||||
site.exp: ./config.status Makefile
|
||||
@echo "Making a new config file..."
|
||||
|
@ -130,7 +130,7 @@ CHECKFLAGS= \
|
||||
"CC_FOR_TARGET=$(CC_FOR_TARGET)" \
|
||||
"NM_FOR_TARGET=$(NM_FOR_TARGET)" \
|
||||
"OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
|
||||
"RUNTEST_FLAGS=$(RUNTEST_FLAGS)" \
|
||||
"RUNTESTFLAGS=$(RUNTESTFLAGS)" \
|
||||
"RUNTEST=$(RUNTEST)"
|
||||
|
||||
# Lists of files for various purposes.
|
||||
|
@ -35,7 +35,7 @@ GCCFLAGS = -g -O
|
||||
LINK= ln -s
|
||||
|
||||
RUNTEST = runtest
|
||||
RUNTEST_FLAGS =
|
||||
RUNTESTFLAGS =
|
||||
|
||||
# The ugliness in the program_transform_name version seems necessary
|
||||
# to work around some strange behavior of /bin/sh on 386bsd (0.1).
|
||||
@ -99,7 +99,7 @@ site.exp: ./Makefile
|
||||
@mv -f ./tmp0 site.exp
|
||||
|
||||
check: site.exp
|
||||
$(RUNTEST) $(RUNTEST_FLAGS) --tool gas AS=$(AS_FOR_TARGET) ASFLAGS="$(ASFLAGS)"
|
||||
$(RUNTEST) $(RUNTESTFLAGS) --tool gas AS=$(AS_FOR_TARGET) ASFLAGS="$(ASFLAGS)"
|
||||
|
||||
force:
|
||||
|
||||
|
@ -118,7 +118,7 @@ CXX = g++
|
||||
|
||||
# Setup the testing framework, if you have one
|
||||
RUNTEST = runtest
|
||||
RUNTEST_FLAGS =
|
||||
RUNTESTFLAGS =
|
||||
RUNTEST_CC = `if [ -f ../gcc/xgcc ] ; then \
|
||||
echo ../gcc/xgcc -B../gcc/; \
|
||||
else echo gcc; \
|
||||
@ -425,7 +425,7 @@ site.exp: ./config.status Makefile
|
||||
|
||||
check: ld.new site.exp
|
||||
$(RUNTEST) --tool ld \
|
||||
--srcdir $(srcdir)/testsuite $(RUNTEST_FLAGS) \
|
||||
--srcdir $(srcdir)/testsuite $(RUNTESTFLAGS) \
|
||||
CC="$(RUNTEST_CC)" CFLAGS="$(RUNTEST_CFLAGS)" \
|
||||
CXX="$(RUNTEST_CXX)" CXXFLAGS="$(RUNTEST_CXXFLAGS)"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user