# one of the library files should cause all to re-run
# Dependancies:
-# * The sdcc-extra package, available from CVS.
-# o cvs -d cvs.sdcc.sourceforge.net:/cvsroot/sdcc co sdcc-extra
+# * The sdcc-extra package, available from Subversion.
+# o svn co https://svn.sourceforge.net/svnroot/sdcc/trunk/sdcc-extra sdcc-extra
# o Provides the emulators
# * The gbdk-lib package from gbdk.
# o cvs -d cvs.gbdk.sourceforge.net:/cvsroot/gbdk co gbdk-lib
# 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 CVS xa51 ucz80 gbz80,$(notdir $(wildcard $(PORTS_DIR)/*)))
+ALL_PORTS = $(filter-out .svn xa51 ucz80 gbz80 pic16,$(notdir $(wildcard $(PORTS_DIR)/*)))
# These ports will be cleaned with 'make clean'
-CLEAN_PORTS = $(filter-out CVS,$(notdir $(wildcard $(PORTS_DIR)/*)))
+CLEAN_PORTS = $(filter-out .svn,$(notdir $(wildcard $(PORTS_DIR)/*)))
MAKE_LIBRARY =
test-mcs51:
$(MAKE) test-port PORT=mcs51
+test-mcs51-medium:
+ $(MAKE) test-port PORT=mcs51-medium
+
test-mcs51-large:
$(MAKE) test-port PORT=mcs51-large
test-mcs51-stack-auto:
- $(MAKE) make_library test-port PORT=mcs51-stack-auto
+ $(MAKE) test-port PORT=mcs51-stack-auto
test-mcs51-xstack-auto:
$(MAKE) make_library test-port PORT=mcs51-xstack-auto
test-xa51:
$(MAKE) test-port PORT=xa51
+# Helper rule for testing the pic16 port only(use gpsim simulator)
+test-pic16:
+ $(MAKE) test-port PORT=pic16
+
### Helper rule for testing the host cc only
test-host:
$(MAKE) test-port PORT=host
# have been run.
port-results: port-dirs $(PORT_RESULTS)
echo Summary for \'$(PORT)\': `cat $(PORT_RESULTS) | python collate-results.py`
+ echo
port-dirs:
mkdir -p $(PORT_CASES_DIR) $(PORT_RESULTS_DIR)
+ echo Running $(PORT) regression tests
test-port: port-results