git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4106 4a8a32a2...
[fw/sdcc] / support / regression / Makefile.in
index f2ee211af797e77b96eddc94b570978d229cf960..98950bce9d990b15edcf03d1a876b5061cc1e7c2 100644 (file)
@@ -15,8 +15,8 @@
 # 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
@@ -62,10 +62,10 @@ GENERATE_CASES = 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 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 =
 
@@ -94,7 +94,7 @@ 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
@@ -115,6 +115,10 @@ test-hc08:
 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
@@ -178,9 +182,11 @@ $(PORT_RESULTS_DIR)/%.out: $(PORT_CASES_DIR)/%/iterations.stamp
 # 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