again: fix cc detection
[fw/sdcc] / support / regression / Makefile
index 7a77a8747f8ca0ea1779633b0bfc1885480fb735..a6301688e78a468c031f3dc4cf3cce030c6b2fa5 100644 (file)
@@ -60,7 +60,7 @@ 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 mcs51 mcs51-large mcs51-stack-auto ds390 gbz80,$(notdir $(wildcard $(PORTS_DIR)/*)))
+ALL_PORTS = $(filter-out CVS xa51 mcs51 mcs51-large mcs51-stack-auto ds390 gbz80,$(notdir $(wildcard $(PORTS_DIR)/*)))
 
 # These  ports will be cleaned with 'make clean'
 CLEAN_PORTS = $(filter-out CVS,$(notdir $(wildcard $(PORTS_DIR)/*)))
@@ -146,11 +146,11 @@ SDCCFLAGS += -Ifwk/include -Itests
 # Rule to generate the iterations of a test suite off the soure suite.
 $(PORT_CASES_DIR)/%/iterations.stamp: $(TESTS_DIR)/%.c $(GENERATE_CASES)
        echo Processing $<
-       rm -rf $(CASES_DIR)/$(TESTS_NAME)
-       mkdir -p $(CASES_DIR)/$(TESTS_NAME)
+       rm -rf $(CASES_DIR)/$(PORT)/$(TESTS_NAME)
+       mkdir -p $(CASES_DIR)/$(PORT)/$(TESTS_NAME)
        mkdir -p `dirname $@`
-       python $(GENERATE_CASES) $< > /dev/null
-       cp $(CASES_DIR)/$(TESTS_NAME)/*.c `dirname $@`
+       python $(GENERATE_CASES) $< $(CASES_DIR)/$(PORT) > /dev/null
+       cp $(CASES_DIR)/$(PORT)/$(TESTS_NAME)/*.c `dirname $@`
        touch $@
 
 # Rule linking the combined results log to all of the files in the