X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=support%2Fregression%2FMakefile.in;h=08a1c0eefee0806c06fe0c0b6e7afcbf0089e579;hb=08f162fbcecbb15a9931c3891fe71892e698ad8e;hp=5866ce6f445fd3e51ac11eaf9d5c27baeff43834;hpb=c42e9051755428d14eb620abc9eda86d43479a1a;p=fw%2Fsdcc diff --git a/support/regression/Makefile.in b/support/regression/Makefile.in index 5866ce6f..08a1c0ee 100644 --- a/support/regression/Makefile.in +++ b/support/regression/Makefile.in @@ -16,7 +16,7 @@ # Dependancies: # * The sdcc-extra package, available from svn. -# o svn co https://svn.sourceforge.net/svnroot/sdcc/trunk/sdcc-extra +# o svn co https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc-extra # o Provides the emulators # * The gbdk-lib package from gbdk. # o cvs -d cvs.gbdk.sourceforge.net:/cvsroot/gbdk co gbdk-lib @@ -41,6 +41,7 @@ .SILENT: CC = @CC@ +CPPFLAGS = @CPPFLAGS@ -DNO_VARARGS # support VPATH: VPATH = @srcdir@ @@ -68,10 +69,10 @@ GENERATE_CASES = $(srcdir)/generate-cases.py # Each directory under ports/ is used as a port name. Each port is tested. # Each port must have a spec.mk which describes how to build the object # files and how to run the emulator. -ALL_PORTS = $(filter-out .svn xa51 ucz80 gbz80 pic16,$(notdir $(wildcard $(PORTS_DIR)/*))) +ALL_PORTS = $(filter-out .svn xa51 z80 gbz80 pic16 pic14 mcs51-common,$(notdir $(wildcard $(PORTS_DIR)/*))) # These ports will be cleaned with 'make clean' -CLEAN_PORTS = $(filter-out .svn,$(notdir $(wildcard $(PORTS_DIR)/*))) +CLEAN_PORTS = $(filter-out .svn mcs51-common,$(notdir $(wildcard $(PORTS_DIR)/*))) MAKE_LIBRARY = @@ -90,8 +91,10 @@ test-gbz80: $(MAKE) test-port PORT=gbz80 # Helper rule for testing the mcs51 port only -test-mcs51: - $(MAKE) test-port PORT=mcs51 +test-mcs51: test-mcs51-small test-mcs51-medium test-mcs51-large test-mcs51-stack-auto test-mcs51-xstack-auto + +test-mcs51-small: + $(MAKE) test-port PORT=mcs51-small test-mcs51-medium: $(MAKE) test-port PORT=mcs51-medium @@ -125,6 +128,10 @@ test-xa51: test-pic16: $(MAKE) test-port PORT=pic16 +# Helper rule for testing the pic14 port only(use gpsim simulator) +test-pic14: + $(MAKE) test-port PORT=pic14 + ### Helper rule for testing the host cc only test-host: $(MAKE) test-port PORT=host @@ -134,7 +141,7 @@ test-host2: # Begin per-port rules # List of all of the known source test suites. -ALL_TESTS = $(shell find $(TESTS_DIR) -name "*.c") +ALL_TESTS = $(shell find $(TESTS_DIR) -name "*.c" | sort) # Intermediate directory PORT_CASES_DIR = $(CASES_DIR)/$(PORT) @@ -142,14 +149,14 @@ PORT_RESULTS_DIR = $(RESULTS_DIR)/$(PORT) # Each test generates a result log file PORT_RESULTS = $(ALL_TESTS:$(TESTS_DIR)/%.c=$(PORT_RESULTS_DIR)/%.out) -SDCC_EXTRA_DIR = $(top_builddir)../sdcc-extra +SDCC_EXTRA_DIR = $(top_builddir)/../sdcc-extra INC_DIR = $(top_srcdir)/device/include # Defaults. Override in spec.mk if required. # Path to SDCC -SDCC = $(top_builddir)bin/sdcc +SDCC = $(top_builddir)/bin/sdcc # Base flags. -SDCCFLAGS += +SDCCFLAGS += --fverbose-asm -DNO_VARARGS # Extension of object intermediate files OBJEXT = .o # Extension of files that can be run in the emulator