* support/regression/generate-cases.py: place generated file in given sub directory
[fw/sdcc] / support / regression / Makefile
index a6301688e78a468c031f3dc4cf3cce030c6b2fa5..801d4681784f0ad3036ac0e67ca274c635d73e3b 100644 (file)
@@ -146,11 +146,8 @@ 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)/$(PORT)/$(TESTS_NAME)
-       mkdir -p $(CASES_DIR)/$(PORT)/$(TESTS_NAME)
        mkdir -p `dirname $@`
-       python $(GENERATE_CASES) $< $(CASES_DIR)/$(PORT) > /dev/null
-       cp $(CASES_DIR)/$(PORT)/$(TESTS_NAME)/*.c `dirname $@`
+       python $(GENERATE_CASES) $< `dirname $@` > /dev/null
        touch $@
 
 # Rule linking the combined results log to all of the files in the