* support/regression/ports/host/spec.mk: prevent removal of testfwk.o
* support/regression/Makefile: improvements for 'make -j'; side effect: it's simpler and faster now
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2456
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2003-04-01 Bernhard Held <bernhard@bernhardheld.de>
+
+ * support/regression/generate-cases.py: place generated file in given sub directory
+ * support/regression/ports/host/spec.mk: prevent removal of testfwk.o
+ * support/regression/Makefile: improvements for 'make -j';
+ side effect: it's simpler and faster now
+
2003-03-31 Borut Razem <borut.razem@siol.net>
* src/z80/main.c: link-{port} and as-{port} defined without path
# 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
createdir(outdir)
# Generate
- self.permute(os.path.join(outdir, self.basename), self.replacements.keys())
+ self.permute(os.path.join(outdir, os.path.basename(self.basename)), self.replacements.keys())
# Remove the temporary file
os.remove(self.tmpname)
EXEEXT = .bin
+# otherwise `make` deletes it and `make -j`will fail
+.PRECIOUS: ports/$(PORT)/testfwk$(OBJEXT)
+
# Required extras
EXTRAS = ports/$(PORT)/testfwk$(OBJEXT) ports/$(PORT)/support$(OBJEXT)