git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2457
4a8a32a2-be11-0410-ad9d-
d568d2c75423
# 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) $< `dirname $@` > /dev/null
+ 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
createdir(outdir)
# Generate
- self.permute(os.path.join(outdir, os.path.basename(self.basename)), self.replacements.keys())
+ self.permute(os.path.join(outdir, self.basename), self.replacements.keys())
# Remove the temporary file
os.remove(self.tmpname)