# 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 CVS 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)/*)))
$(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