From a3e956e70b45ce2c5694059409f1f1c04bae2201 Mon Sep 17 00:00:00 2001 From: Phil Hord Date: Tue, 14 Jul 2015 16:48:17 -0400 Subject: [PATCH] Regressiontests: give SIM a "standard" config. We should not fail the regression test if the user's config is missing or misconfigured. Also turn on -Werror for simulator validation, too. This might be a bit presumptuous since we are dependent on the user's installed gcc instance; but we already depending on him to be able to build the simulator at all, so this doesn't seem to be too much of a stretch. --- Makefile-common | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile-common b/Makefile-common index 0ce7532..28fb1f5 100644 --- a/Makefile-common +++ b/Makefile-common @@ -127,7 +127,8 @@ regressiontests: $(MAKE) -f Makefile-AVR USER_CONFIG=testcases/config.regtest-teensy2.h \ MCU=atmega32u4 F_CPU=16000000UL EXTRA_CFLAGS=-Werror all # Don't forget the hostside simulator. - $(MAKE) -f Makefile-SIM all + $(MAKE) -f Makefile-SIM USER_CONFIG=testcases/config.regtest-gen7.h \ + EXTRA_CFLAGS=-Werror all @# Nonstandard builds go into a subdirectory of build/, see definition of @# $(BUILDDIR) above. Let's clean that up on success. rm -rf $(BUILDDIR)/testcases/ $(BUILDDIR)/sim/